flaxsearch/luwak

how can we get back the actual query as well as the queryid for HighlightsMatch?

holajoyce opened this issue · 1 comments

how can we get back the actual query as well as the queryid for HighlightsMatch?

Thanks

You can get the MonitorQuery just by calling Monitor.getQuery(). To retrieve the lucene Query object itself you'll have to write your own CandidateMatcher that extends HighlightingMatcher and override doMatchQuery().

It would be nice to be able to compose matchers, but that's not really possible with the way things are structured at the moment, unfortunately.