Description
This change will allow Scorers to expose which positions within a document they have matched, via a new IntervalIterator interface. Consumers get the iterator by calling intervals() on the Scorer, then call reset(docId) whenever the scorer has advanced and nextInterval() to iterate through positions. Once all matching intervals on the current document have been exhausted, nextInterval() returns false.
Attachments
Attachments
Issue Links
- is related to
-
LUCENE-8196 Add IntervalQuery and IntervalsSource to expose minimum interval semantics across term fields
- Closed