lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lev Bronshtein <>
Subject MultiFieldQueryParser
Date Thu, 14 Oct 2010 01:04:59 GMT

Hi Group, 

I have an isue when using MultiFieldQueryParser, I would like to use one query against a number
of fields however I get an 
java.lang.IllegalArgumentException: queries.length != fields.length

Looked at the javadoc, and it looks like the only way to run one query against multiple fields
is to define flags for every field
See, the very last parse method. 
All I really want to do is just run a query against multiple fields, is there a simple way?


Lev Bronshtein

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

View raw message