Which query types evaluate lucene special characters?

I want to escape the lucene special characters in my search, so that no unexpected results occurr for people using our search. However during my testing, whenever I try to escape special characters, the result sets are empty while the unescaped special character query will return the expected results.

After re-checking the documentation, it states for example that (paraphrasing) the query parsing phase is not performed for the "match" family of queries. I'm guessing this means that special characters will not be evaluated for match queries...(or does it? I don't want to exclude the possiblity that my query contains structural errors resulting in the wrong results). What about the other query types? I'm assuming term queries won't evaluate lucene characters and commands anyway, and they'd only apply to (some) full text query types.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.