Hi folks,

We use the StopFilterFactory with the stopwords.txt provided as part of the 
solr getting started example and just realized that if the stop word is 
enclosed within a parentheses then solr just strips out the stop word and not 
the parens and this causes 0 results being returned. for example: trying 
(text:solr) +(text:of) +(text:works) query with debug enabled returns the 
parsed query as text:solr +() +text:work (notice the blank parentheses after 
solr stripped out "of"). We use bracketed search quite a lot for grouping query 
parts into logical group and this one always acts as a bummer; as anytime the 
user enters one of the stop words he gets no results back. Is there something 
obvious that I am missing here?

Thanks!

____________________________________________________________
Click here to find the rental car that fits your needs.
http://thirdpartyoffers.netzero.net/TGL2231/fc/Ioyw6ijmhQ3W42oAGKlzAwRjYQP3LU0AMrPnrU6gygkoHjyp6jED0l/

Reply via email to