lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From will martin <>
Subject Re: range query highlighting
Date Thu, 24 Dec 2015 04:37:57 GMT

"This trick just converts the multi term queries like PrefixQuery or RangeQuery to boolean
query by expanding the terms using index reader."

beware cost. (my comment)


> On Dec 23, 2015, at 4:49 PM, Fielder, Todd Patrick <> wrote:
> I have a NumericRangeQuery and a TermQuery that I am combining into a Boolean query.
 I would then like to pass the Boolean query to the highlighter to highlight both the range
and term hits.  Currently, only the terms are being highlighted.
> Any help on how to get the range values to highlight would be appreciated
> Thanks
> -Todd

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

View raw message