| Name | Description | Type | Package | Framework |
| FieldMaskingSpanQuery | Wrapper to allow SpanQuery objects participate in composite single-field SpanQueries by 'lying' about their search field. | Class | org.apache.lucene.search.spans | Apache Lucene |
| FilterSpans | A Spans implementation wrapping another spans instance, allowing to filter spans matches easily by implementing accept(org. | Class | org.apache.lucene.search.spans | Apache Lucene |
| FilterSpans .AcceptStatus | Status returned from FilterSpans. | Class | org.apache.lucene.search.spans.FilterSpans | Apache Lucene |
| NearSpansOrdered | 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. | Class | org.apache.lucene.search.spans | Apache Lucene |
| NearSpansUnordered | Similar to NearSpansOrdered, but for the unordered case. | Class | org.apache.lucene.search.spans | Apache Lucene |
| ScoringWrapperSpans | Class | org.apache.lucene.search.spans | Apache Lucene | |
| SpanBoostQuery | Counterpart of BoostQuery for spans. | Class | org.apache.lucene.search.spans | Apache Lucene |
| SpanCollector | An interface defining the collection of postings information from the leavesWARNING: This API is experimental and might change in incompatible ways in the next release. | Interface | org.apache.lucene.search.spans | Apache Lucene |
| SpanContainingQuery | Keep matches that contain another Spans. | Class | org.apache.lucene.search.spans | Apache Lucene |
| SpanFirstQuery | Matches spans near the beginning of a field. | Class | org.apache.lucene.search.spans | Apache Lucene |
| SpanMultiTermQueryWrapper | Wraps any MultiTermQuery as a SpanQuery, so it can be nested within other SpanQuery classes. | Class | org.apache.lucene.search.spans | Apache Lucene |
| SpanMultiTermQueryWrapper .SpanRewriteMethod | Abstract class that defines how the query is rewritten. | Class | org.apache.lucene.search.spans.SpanMultiTermQueryWrapper | Apache Lucene |
| SpanMultiTermQueryWrapper .TopTermsSpanBooleanQueryRewrite | A rewrite method that first translates each term into a SpanTermQuery in a BooleanClause. | Class | org.apache.lucene.search.spans.SpanMultiTermQueryWrapper | Apache Lucene |
| SpanNearQuery | Matches spans which are near one another. | Class | org.apache.lucene.search.spans | Apache Lucene |
| SpanNearQuery .Builder | Class | org.apache.lucene.search.spans.SpanNearQuery | Apache Lucene | |
| SpanNotQuery | Removes matches which overlap with another SpanQuery or which are within x tokens before or y tokens after another SpanQuery. | Class | org.apache.lucene.search.spans | Apache Lucene |
| SpanOrQuery | Matches the union of its clauses. | Class | org.apache.lucene.search.spans | Apache Lucene |
| SpanPositionCheckQuery | Base class for filtering a SpanQuery based on the position of a match. | Class | org.apache.lucene.search.spans | Apache Lucene |
| SpanPositionRangeQuery | Checks to see if the SpanPositionCheckQuery. | Class | org.apache.lucene.search.spans | Apache Lucene |
| SpanQuery | Base class for span-based queries. | Class | org.apache.lucene.search.spans | Apache Lucene |
| Spans | Iterates through combinations of start/end positions per-doc. | Class | org.apache.lucene.search.spans | Apache Lucene |
| SpanScorer | A basic Scorer over Spans. | Class | org.apache.lucene.search.spans | Apache Lucene |
| SpanTermQuery | Matches spans containing a term. | Class | org.apache.lucene.search.spans | Apache Lucene |
| SpanWeight | Expert-only. | Class | org.apache.lucene.search.spans | Apache Lucene |
| SpanWeight .Postings | Class | org.apache.lucene.search.spans.SpanWeight | Apache Lucene | |
| SpanWithinQuery | Keep matches that are contained within another Spans. | Class | org.apache.lucene.search.spans | Apache Lucene |
| TermSpans | Public for extension only. | Class | org.apache.lucene.search.spans | Apache Lucene |
| AssertingSpanQuery | Class | org.apache.lucene.search.spans | Apache Lucene | |
| AssertingSpanWeight | Class | org.apache.lucene.search.spans | Apache Lucene | |
| MultiSpansWrapper | A wrapper to perform span operations on a non-leaf reader context NOTE: This should be used for testing purposes only | Class | org.apache.lucene.search.spans | Apache Lucene |
| SpanTestUtil | Class | org.apache.lucene.search.spans | Apache Lucene | |