Package-level declarations
Types
Common super class for multiple sub spans required in a document.
Wrapper to allow SpanQuery objects participate in composite single-field SpanQueries by 'lying' about their search field. That is, the masked SpanQuery will function as normal, but SpanQuery.getField simply hands back the value supplied in this class's constructor.
A Spans implementation wrapping another spans instance, allowing to filter spans matches easily by implementing accept
A Spans that is formed from the ordered subspans of a SpanNearQuery where the subspans do not overlap and have a maximum slop between them.
Similar to NearSpansOrdered, but for the unordered case.
Expert: collects postings data for span matches.
Keep matches that contain another SpanScorer.
Wrapper used in SpanDisiPriorityQueue.
Matches spans near the beginning of a field.
Wraps any MultiTermQuery as a SpanQuery, so it can be nested within other SpanQuery classes.
Removes matches which overlap with another SpanQuery or which are within x tokens before or y tokens after another SpanQuery.
Matches the union of its clauses.
Base class for filtering a SpanQuery based on the position of a match.
Checks to see if the getMatch lies between a start and end position
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.
Matches spans containing a term. This should not be used for terms that are indexed at position Integer.MAX_VALUE.
Expert-only. Public for use by other weight implementations
Keep matches that are contained within another Spans.