## Uses of Class
org.apache.lucene.search.spans.Spans

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

- - ### Uses of Spans in org.apache.lucene.search.payloads

    Methods in org.apache.lucene.search.payloads with parameters of type Spans
    Modifier and Type | Method and Description
    --- | ---
    `void` | PayloadNearQuery.PayloadNearSpanScorer.`getPayloads(Spans[] subSpans)`

    Constructors in org.apache.lucene.search.payloads with parameters of type Spans
    Constructor and Description
    `PayloadNearSpanScorer(Spans spans, Weight weight, Similarity similarity, byte[] norms)`

  - ### Uses of Spans in org.apache.lucene.search.spans

    Subclasses of Spans in org.apache.lucene.search.spans
    Modifier and Type | Class and Description
    --- | ---
    `class` | `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` | `NearSpansUnordered` Similar to `NearSpansOrdered`, but for the unordered case.
    `class` | `TermSpans` Expert: Public for extension only

    Fields in org.apache.lucene.search.spans declared as Spans
    Modifier and Type | Field and Description
    --- | ---
    `protected Spans` | SpanScorer.`spans`

    Methods in org.apache.lucene.search.spans that return Spans
    Modifier and Type | Method and Description
    --- | ---
    `Spans` | SpanTermQuery.`getSpans(IndexReader reader)`
    `abstract Spans` | SpanQuery.`getSpans(IndexReader reader)` Expert: Returns the matches for this query in an index.
    `Spans` | SpanOrQuery.`getSpans(IndexReader reader)`
    `Spans` | SpanNotQuery.`getSpans(IndexReader reader)`
    `Spans` | FieldMaskingSpanQuery.`getSpans(IndexReader reader)`
    `Spans` | SpanNearQuery.`getSpans(IndexReader reader)`
    `Spans` | SpanFirstQuery.`getSpans(IndexReader reader)`
    `Spans[]` | NearSpansUnordered.`getSubSpans()`
    `Spans[]` | NearSpansOrdered.`getSubSpans()`

    Constructors in org.apache.lucene.search.spans with parameters of type Spans
    Constructor and Description
    `SpanScorer(Spans spans, Weight weight, Similarity similarity, byte[] norms)`

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