lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Jain <>
Subject Weighted queries
Date Fri, 06 Aug 2004 14:54:55 GMT
Is it possible to expand a query such as

   foo bar


   (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:
For additional commands, e-mail:

View raw message