org.apache.lucene.search.spans

Class Spans

  • Direct Known Subclasses:
    FilterSpans, NearSpansOrdered, NearSpansUnordered, TermSpans


    public abstract class Spans
    extends DocIdSetIterator
    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.