Hi all,

I need some help with a curious problem i can't find a solution for. I am somewhat of a newbie with the various analyzers and handlers and how they work together, so im looking for advice on how to proceed with my issue.

I have content with text like 'product+' which has been indexed as text. I need to search for the character '+', but try as I might i can't do this.

From the docs it should just be a matter of escaping:

http://lucene.apache.org/java/2_4_1/queryparsersyntax.html#Escaping%20Special%20Characters

So queries like:

http://localhost:8983/solr/select/?q=\+&debugQuery=true or 
http://localhost:8983/solr/select/?q=\%2B&debugQuery=true

should do the trick but they don't. I get:

http://pastie.org/616055 and http://pastie.org/616052, respectively.

Only with the + url encoded does it appear in the output, but no results are returned.

I believe that the + is being stripped somehow but im not sure where exactly to look.

I included the debug info from the query but im not sure if the output is helpfull.

Does anyone have ideas on this issue, and how i should try to proceed?

Many thanks,

Paul

Reply via email to