lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Naber <>
Subject the future of MultiFieldQueryParser
Date Sat, 13 Nov 2004 12:46:05 GMT

I'd like to fix MultiFieldQueryParser so that it properly works with AND 
queries. Currently it rewrites AND queries so that all terms must appear 
in all fields, which rarely makes sense.

Eric Jain suggested a new class that works for AND and OR queries:

It seems that his code can just be added to the current 
MultiFieldQueryParser class. The current static calls can then all be 
deprecated (once some feature like setting required/prohibited per field 
have been added to the new code).

Does anybody see a problem with that?



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message