lucene-java-user mailing list archives

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

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

http://stackoverflow.com/questions/7662829/lucene-net-range-queries-highlighting

beware cost. (my comment)


g’luck
will

> On Dec 23, 2015, at 4:49 PM, Fielder, Todd Patrick <tpfield@sandia.gov> 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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message