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

Packages that use Spans
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
`void` `PayloadNearQuery.PayloadNearSpanScorer.getPayloads(Spans[] subSpans)`

Constructors in org.apache.lucene.search.payloads with parameters of type Spans
`PayloadNearQuery.PayloadNearSpanScorer(Spans spans, Weight weight, Similarity similarity, Similarity.SloppySimScorer docScorer)`

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

Subclasses of Spans in org.apache.lucene.search.spans
`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.
`protected class` `SpanPositionCheckQuery.PositionCheckSpan`
`class` `TermSpans` Expert: Public for extension only

Fields in org.apache.lucene.search.spans declared as Spans
`protected Spans` `SpanScorer.spans`

Methods in org.apache.lucene.search.spans that return Spans
`Spans` `SpanTermQuery.getSpans(AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)`
`abstract Spans` `SpanQuery.getSpans(AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)` Expert: Returns the matches for this query in an index.
`Spans` `SpanPositionCheckQuery.getSpans(AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)`
`Spans` `SpanOrQuery.getSpans(AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)`
`Spans` `SpanNotQuery.getSpans(AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)`
`Spans` `SpanNearQuery.getSpans(AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)`
`Spans` `SpanMultiTermQueryWrapper.getSpans(AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)`
`Spans` `FieldMaskingSpanQuery.getSpans(AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)`
`Spans[]` `NearSpansUnordered.getSubSpans()`
`Spans[]` `NearSpansOrdered.getSubSpans()`

Methods in org.apache.lucene.search.spans with parameters of type Spans
`protected SpanPositionCheckQuery.AcceptStatus` `SpanPositionRangeQuery.acceptPosition(Spans spans)`
`protected abstract SpanPositionCheckQuery.AcceptStatus` `SpanPositionCheckQuery.acceptPosition(Spans spans)` Implementing classes are required to return whether the current position is a match for the passed in "match" `SpanQuery`.
`protected SpanPositionCheckQuery.AcceptStatus` `SpanPayloadCheckQuery.acceptPosition(Spans spans)`
`protected SpanPositionCheckQuery.AcceptStatus` `SpanNearPayloadCheckQuery.acceptPosition(Spans spans)`
`protected SpanPositionCheckQuery.AcceptStatus` `SpanFirstQuery.acceptPosition(Spans spans)`

Constructors in org.apache.lucene.search.spans with parameters of type Spans
`SpanScorer(Spans spans, Weight weight, Similarity.SloppySimScorer docScorer)`

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