I can't double check this, but assuming this is indeed a problem, please tell us which version of Solr you are using, and if you are using anything older than 1.3, could you please try to reproduce this with 1.3? I seem to recall something similar being mentioned in the past....
Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch ----- Original Message ---- > From: Sachin <[EMAIL PROTECTED]> > To: solr-user@lucene.apache.org > Sent: Tuesday, September 16, 2008 7:20:04 PM > Subject: StopFilterFactory bug? > > 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/