Hello all,

I have been going mad trying to get SOLR to search for parentheses as literals. 
For example, "(Figure 5)". I've tried entering it in the fq field as:
allText:\(Figure 5\)

(where allText is a facet). SOLR interprets this in the response as

"fq":"allText:\\(Figure 5\\)"

and it ends up finding text like "In Figure 5" with no parentheses. I assume 
this is because it is escaping the escape characters.


I've tried escaping, I've tried URL encoding them, I've tried banging my head 
on the desk. I can't get solr to understand that this should be an exact match 
and that the parentheses are both literal and mandatory.

In the wiki it even gives an example of escaping parentheses as part of the 
"Escaping Special Characters" section but it doesn't seem to work in my case.

Has anyone else experienced this issue? Is there something I'm doing wrong?


Thank you,

Kayla Casteel

________________________________

NOTICE - This communication may contain confidential and privileged information 
that is for the sole use of the intended recipient. Any viewing, copying or 
distribution of, or reliance on this message by unintended recipients is 
strictly prohibited. If you have received this message in error, please notify 
us immediately by replying to the message and deleting it from your computer.

Reply via email to