Re: range query highlighting

2015-12-23 Thread will martin
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

range query highlighting

2015-12-23 Thread Fielder, Todd Patrick
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

problem with payload retrieval in custom query - lucene 5.3.1

2015-12-23 Thread Bob Price
Via elasticsearch 2.1 we have written a custom Lucene TokenFilter that adds a payload to a special term during indexing analysis, and we also have custom Lucene Query/Weight/Scorer classes that compare this payload against some query data to decide if a document matches a query or not. I know that