lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From devPowered <s.whitfi...@xtra.co.nz>
Subject advice on query structure
Date Sun, 01 Jun 2014 11:04:08 GMT
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.

Mime
View raw message