You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@lucene.apache.org by devPowered <s....@xtra.co.nz> on 2014/06/01 13:04:08 UTC

advice on query structure

Hi all,

I need to query an index using a combination of 7 - 8 string terms and a
numeric range (date).
The numeric range query is the primary filter to reduce the result set and
the 6 - 7 string terms refine the results including an expensive fuzzy
match.

What is the best approach to structure a query of this nature?

I have tried a NumericRangeFilter but this did not appreciably improve the
query performance, certainly not to the level I would expect. I have tested
a NumericRangeQuery independently and this works well but I need to combine
this behavior with the 6 - 7 string terms.

Is a query.combine() the right approach?

All help much appreciated.





--
View this message in context: http://lucene.472066.n3.nabble.com/advice-on-query-structure-tp4139124.html
Sent from the Lucene - General mailing list archive at Nabble.com.