Could you use TermInSetQuery (TermsQuery in older Lucene versions)? It is
worse at skipping over matches than a BooleanQuery but keeps memory
usage low and disk access sequential, on the contrary to large boolean
Otherwise you would probably need to rethink how you design your documents
in order to be able to run simpler queries.
Le lun. 17 juil. 2017 à 16:28, Kumaran Ramasubramanian <[EMAIL PROTECTED]>
a écrit :