Uses of Class
org.apache.lucene.search.spans.Spans
-
Packages that use Spans Package Description org.apache.lucene.queries.payloads The payloads package provides Query mechanisms for finding and using payloads.org.apache.lucene.search Code to search indices.org.apache.lucene.search.spans The calculus of spans. -
-
Uses of Spans in org.apache.lucene.queries.payloads
Subclasses of Spans in org.apache.lucene.queries.payloads Modifier and Type Class Description private class
PayloadScoreQuery.PayloadSpans
Methods in org.apache.lucene.queries.payloads that return Spans Modifier and Type Method Description Spans
PayloadScoreQuery.PayloadSpanWeight. getSpans(LeafReaderContext ctx, SpanWeight.Postings requiredPostings)
Spans
SpanPayloadCheckQuery.SpanPayloadCheckWeight. getSpans(LeafReaderContext context, SpanWeight.Postings requiredPostings)
Methods in org.apache.lucene.queries.payloads with parameters of type Spans Modifier and Type Method Description protected FilterSpans.AcceptStatus
PayloadScoreQuery.PayloadSpans. accept(Spans candidate)
Constructors in org.apache.lucene.queries.payloads with parameters of type Spans Constructor Description PayloadSpans(Spans in, PayloadDecoder decoder)
-
Uses of Spans in org.apache.lucene.search
Fields in org.apache.lucene.search declared as Spans Modifier and Type Field Description Spans
DisiWrapper. spans
Methods in org.apache.lucene.search with parameters of type Spans Modifier and Type Method Description private static void
ConjunctionDISI. addSpans(Spans spans, java.util.List<DocIdSetIterator> allIterators, java.util.List<TwoPhaseIterator> twoPhaseIterators)
Adds the Spans.Method parameters in org.apache.lucene.search with type arguments of type Spans Modifier and Type Method Description static DocIdSetIterator
ConjunctionDISI. intersectSpans(java.util.List<Spans> spanList)
Create a conjunction over the providedSpans
.Constructors in org.apache.lucene.search with parameters of type Spans Constructor Description DisiWrapper(Spans spans)
-
Uses of Spans in org.apache.lucene.search.spans
Subclasses of Spans in org.apache.lucene.search.spans Modifier and Type Class Description (package private) class
ConjunctionSpans
Common super class for multiple sub spans required in a document.(package private) class
ContainSpans
class
FilterSpans
ASpans
implementation wrapping another spans instance, allowing to filter spans matches easily by implementingFilterSpans.accept(org.apache.lucene.search.spans.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 toNearSpansOrdered
, but for the unordered case.(package private) static class
SpanNearQuery.GapSpans
class
TermSpans
Expert: Public for extension only.Fields in org.apache.lucene.search.spans declared as Spans Modifier and Type Field Description (package private) Spans
ContainSpans. bigSpans
protected Spans
FilterSpans. in
The wrapped spans instance.(package private) Spans
ContainSpans. littleSpans
(package private) Spans
ContainSpans. sourceSpans
protected Spans
SpanScorer. spans
(package private) Spans[]
ConjunctionSpans. subSpans
Methods in org.apache.lucene.search.spans that return Spans Modifier and Type Method Description Spans
SpanContainingQuery.SpanContainingWeight. getSpans(LeafReaderContext context, SpanWeight.Postings requiredPostings)
Return spans frombig
that contain at least one spans fromlittle
.Spans
SpanNearQuery.SpanGapQuery.SpanGapWeight. getSpans(LeafReaderContext ctx, SpanWeight.Postings requiredPostings)
Spans
SpanNearQuery.SpanNearWeight. getSpans(LeafReaderContext context, SpanWeight.Postings requiredPostings)
Spans
SpanNotQuery.SpanNotWeight. getSpans(LeafReaderContext context, SpanWeight.Postings requiredPostings)
Spans
SpanOrQuery.SpanOrWeight. getSpans(LeafReaderContext context, SpanWeight.Postings requiredPostings)
Spans
SpanPositionCheckQuery.SpanPositionCheckWeight. getSpans(LeafReaderContext context, SpanWeight.Postings requiredPostings)
Spans
SpanScorer. getSpans()
return the Spans for this ScorerSpans
SpanTermQuery.SpanTermWeight. getSpans(LeafReaderContext context, SpanWeight.Postings requiredPostings)
abstract Spans
SpanWeight. getSpans(LeafReaderContext ctx, SpanWeight.Postings requiredPostings)
Expert: Return a Spans object iterating over matches from this WeightSpans
SpanWithinQuery.SpanWithinWeight. getSpans(LeafReaderContext context, SpanWeight.Postings requiredPostings)
Return spans fromlittle
that are contained in a spans frombig
.Spans[]
ConjunctionSpans. getSubSpans()
Methods in org.apache.lucene.search.spans that return types with arguments of type Spans Modifier and Type Method Description (package private) java.util.ArrayList<Spans>
SpanContainQuery.SpanContainWeight. prepareConjunction(LeafReaderContext context, SpanWeight.Postings postings)
Methods in org.apache.lucene.search.spans with parameters of type Spans Modifier and Type Method Description protected abstract FilterSpans.AcceptStatus
FilterSpans. accept(Spans candidate)
Returns YES if the candidate should be an accepted match, NO if it should not, and NO_MORE_IN_CURRENT_DOC if iteration should move on to the next document.protected FilterSpans.AcceptStatus
SpanFirstQuery. acceptPosition(Spans spans)
protected abstract FilterSpans.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 FilterSpans.AcceptStatus
SpanPositionRangeQuery. acceptPosition(Spans spans)
private static int
NearSpansOrdered. advancePosition(Spans spans, int position)
protected boolean
NearSpansUnordered.SpanTotalLengthEndPositionWindow. lessThan(Spans spans1, Spans spans2)
protected boolean
SpanPositionQueue. lessThan(Spans s1, Spans s2)
(package private) static boolean
NearSpansUnordered. positionsOrdered(Spans spans1, Spans spans2)
Check whether two Spans in the same document are ordered with possible overlap.Constructors in org.apache.lucene.search.spans with parameters of type Spans Constructor Description ContainSpans(Spans bigSpans, Spans littleSpans, Spans sourceSpans)
FilterSpans(Spans in)
Wrap the givenSpans
.SpanScorer(SpanWeight weight, Spans spans, LeafSimScorer docScorer)
Sole constructor.Constructor parameters in org.apache.lucene.search.spans with type arguments of type Spans Constructor Description ConjunctionSpans(java.util.List<Spans> subSpans)
NearSpansOrdered(int allowedSlop, java.util.List<Spans> subSpans)
NearSpansUnordered(int allowedSlop, java.util.List<Spans> subSpans)
-