Btw, MultiFieldQueryParser extends QueryParser, which has the
setOperator method that allows you to set the default operator.

>>> [EMAIL PROTECTED] 8/6/2004 10:54:55 AM >>>
Is it possible to expand a query such as

   foo bar

into

   (title:foo^4 OR abstract:foo^2 OR content:foo) AND
   (title:bar^4 OR abstract:bar^2 OR content:bar)

?

I can assign weights to individual fields when indexing, and could use

the MultiFieldQueryParser - but it seems this parser can't be
configured 
to use AND as default!

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to