# Uses of Package
org.apache.lucene.queries.spans

- Packages that use org.apache.lucene.queries.spans
  Package | Description
  --- | ---
  org.apache.lucene.queries.payloads | The payloads package provides Query mechanisms for finding and using payloads.
  org.apache.lucene.queries.spans | The calculus of spans.

- Classes in org.apache.lucene.queries.spans used by org.apache.lucene.queries.payloads
  Class | Description
  --- | ---
  SpanQuery | Base class for span-based queries.
  Spans | Iterates through combinations of start/end positions per-doc.
  SpanScorer | A basic `Scorer` over `Spans`.
  SpanWeight | Expert-only.
  SpanWeight.Postings | Enumeration defining what postings information should be retrieved from the index for a given Spans

- Classes in org.apache.lucene.queries.spans used by org.apache.lucene.queries.spans
  Class | Description
  --- | ---
  FilterSpans.AcceptStatus | Status returned from `FilterSpans.accept(Spans)` that indicates whether a candidate match should be accepted, rejected, or rejected and move on to the next document.
  SpanCollector | An interface defining the collection of postings information from the leaves of a `Spans`
  SpanDisiWrapper | Wrapper used in `SpanDisiPriorityQueue`.
  SpanMultiTermQueryWrapper.SpanRewriteMethod | Abstract class that defines how the query is rewritten.
  SpanNearQuery | Matches spans which are near one another.
  SpanNearQuery.Builder | A builder for SpanNearQueries
  SpanPositionCheckQuery | Base class for filtering a SpanQuery based on the position of a match.
  SpanPositionRangeQuery | Checks to see if the `SpanPositionCheckQuery.getMatch()` lies between a start and end position
  SpanQuery | Base class for span-based queries.
  Spans | Iterates through combinations of start/end positions per-doc.
  SpanScorer | A basic `Scorer` over `Spans`.
  SpanWeight | Expert-only.
  SpanWeight.Postings | Enumeration defining what postings information should be retrieved from the index for a given Spans