Spans
Iterates through combinations of start/end positions per-doc. Each start/end position represents a range of term positions within the current document. These are enumerated in order, by increasing document number, within that by increasing start position and finally by increasing end position.
Inheritors
Functions
Optional method: Return a TwoPhaseIterator view of this Spans. A return value of null indicates that two-phase iteration is not supported.
Collect postings data from the leaves of the current Spans.
Returns the end position for the current start position, or -1 when nextStartPosition was not yet called on the current doc. After the last start/end position at the current doc this returns NO_MORE_POSITIONS.
Returns the next start position for the current doc. There is always at least one start/end position per doc. After the last start/end position at the current doc this returns NO_MORE_POSITIONS.
Return an estimation of the cost of using the positions of this Spans for any single document.
Returns the start position in the current doc, or -1 when nextStartPosition was not yet called on the current doc. After the last start/end position at the current doc this returns NO_MORE_POSITIONS.