This caused me a certain amount of trouble, because the parser
errors with ill-formed queries. Try these:

   foo -
   TO HAVE AND HAVE NOT

wunder

On 8/1/07 12:47 AM, "Chris Hostetter" <[EMAIL PROTECTED]> wrote:

> 
> : > StandardRequestHandler), but I also want to be able to use Lucene's
> : > boolean syntax (AND/OR/NOT). This doesn't seem to be supported by
> : > DisMaxRequestHandler. I will need to copy or extend
> 
> for the record, using the Lucene boolean options "+" and "-" do work in
> the "q" expression for the dismax handler ... for that matter, the boolean
> keywords AND, OR, and NOT work as well (allthough i never intended them
> to.  funny story: when i was writing dismax, i assumed i needed to do
> something to prevent AND/OR/NOT from working, after writing most of it i
> went to test it and discovered they didn't work and figured something else
> i was doing in my QUeryParser subclass was alrady taking care of it and
> moved on to deal with other problems --- it wasn't until months later that
> i realized i was an idiot and was typing "and" but the QueryParser only
> recognizes the uppercase versions)
> 
> The only part of the "boolean" syntax that doesn't work is compelx boolean
> expressions using parens.
> 
> 
> 
> 
> 
> -Hoss
> 

Reply via email to