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

- Packages that use org.apache.lucene.search.spans
  Package | Description
  --- | ---
  org.apache.lucene.search | Code to search indices.
  org.apache.lucene.search.spans | The calculus of spans.
  org.apache.lucene.util | Some utility classes.

- Classes in org.apache.lucene.search.spans used by org.apache.lucene.search
  Class and Description
  Spans Iterates through combinations of start/end positions per-doc.

- Classes in org.apache.lucene.search.spans used by org.apache.lucene.search.spans
  Class and 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`
  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 See `SpanFirstQuery` for a derivation that is optimized for the case where start position is 0.
  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.search.spans used by org.apache.lucene.util
  Class and Description
  SpanQuery Base class for span-based queries.

Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.