So, I remove the stop word OR from the stopwords and get the same result. Using the standard query handler syntax like this "fq=((tags:red)+OR+(tags:green))" I get 421,000 results. Using dismax "q=red+OR+green" I get 29,000 results. The debug output from parsedquery_toString show this:
+(((tags:red)~0.01 (tags:green)~0.01)~2) It feels like the dismax handler is not handling the "OR" properly. I also tried "q=red+|+green" and got the same 29,000 results. Thanks, David On Mon, Oct 5, 2009 at 3:02 PM, Christian Zambrano <czamb...@gmail.com> wrote: > David, > > If your schema includes fields with analyzers that use the StopFilterFactory > and the dismax QueryHandler is set-up to search within those fields, then > you are correct. > > > On 10/05/2009 01:36 PM, David Giffin wrote: >> >> Hi There, >> >> Maybe I'm missing something, but I can't seem to get the dismax >> request handler to perform and OR query. It appears that OR is removed >> by the stop words. I like to do something like >> "qt=dismax&q=red+OR+green" and get all green and all red results. >> >> Thanks, >> David >> >