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 Description void
PayloadNearQuery.PayloadNearSpanScorer. getPayloads(Spans[] subSpans)
Constructors in org.apache.lucene.search.payloads with parameters of type Spans Constructor Description PayloadNearSpanScorer(Spans spans, Weight weight, Similarity similarity, Similarity.SimScorer docScorer)
-
Uses of Spans in org.apache.lucene.search.spans
Subclasses of Spans in org.apache.lucene.search.spans Modifier and Type Class 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 toNearSpansOrdered
, but for the unordered case.protected class
SpanPositionCheckQuery.PositionCheckSpan
class
TermSpans
Expert: Public for extension onlyFields in org.apache.lucene.search.spans declared as Spans Modifier and Type Field Description protected Spans
SpanScorer. spans
Methods in org.apache.lucene.search.spans that return Spans Modifier and Type Method Description Spans
FieldMaskingSpanQuery. getSpans(AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)
Spans
SpanMultiTermQueryWrapper. getSpans(AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)
Spans
SpanNearQuery. getSpans(AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)
Spans
SpanNotQuery. getSpans(AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)
Spans
SpanOrQuery. getSpans(AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)
Spans
SpanPositionCheckQuery. 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
SpanTermQuery. getSpans(AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)
Spans[]
NearSpansOrdered. getSubSpans()
Spans[]
NearSpansUnordered. getSubSpans()
Methods in org.apache.lucene.search.spans with parameters of type Spans Modifier and Type Method Description protected SpanPositionCheckQuery.AcceptStatus
SpanFirstQuery. acceptPosition(Spans spans)
protected SpanPositionCheckQuery.AcceptStatus
SpanNearPayloadCheckQuery. acceptPosition(Spans spans)
protected SpanPositionCheckQuery.AcceptStatus
SpanPayloadCheckQuery. 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
SpanPositionRangeQuery. acceptPosition(Spans spans)
Constructors in org.apache.lucene.search.spans with parameters of type Spans Constructor Description SpanScorer(Spans spans, Weight weight, Similarity.SimScorer docScorer)
-