Uses of Class
org.apache.lucene.queries.spans.Spans
Packages that use Spans
Package
Description
The payloads package provides Query mechanisms for finding and using payloads.
The calculus of spans.
-
Uses of Spans in org.apache.lucene.queries.payloads
Subclasses of Spans in org.apache.lucene.queries.payloadsMethods in org.apache.lucene.queries.payloads that return SpansModifier and TypeMethodDescriptionPayloadScoreQuery.PayloadSpanWeight.getSpans(LeafReaderContext ctx, SpanWeight.Postings requiredPostings) SpanPayloadCheckQuery.SpanPayloadCheckWeight.getSpans(LeafReaderContext context, SpanWeight.Postings requiredPostings) Methods in org.apache.lucene.queries.payloads with parameters of type SpansConstructors in org.apache.lucene.queries.payloads with parameters of type Spans -
Uses of Spans in org.apache.lucene.queries.spans
Subclasses of Spans in org.apache.lucene.queries.spansModifier and TypeClassDescription(package private) classCommon super class for multiple sub spans required in a document.(package private) classclassASpansimplementation wrapping another spans instance, allowing to filter spans matches easily by implementingFilterSpans.accept(org.apache.lucene.queries.spans.Spans)classA Spans that is formed from the ordered subspans of a SpanNearQuery where the subspans do not overlap and have a maximum slop between them.classSimilar toNearSpansOrdered, but for the unordered case.(package private) static classclassExpert: Public for extension only.Fields in org.apache.lucene.queries.spans declared as SpansModifier and TypeFieldDescription(package private) SpansContainSpans.bigSpansprotected final SpansFilterSpans.inThe wrapped spans instance.(package private) SpansContainSpans.littleSpans(package private) SpansContainSpans.sourceSpansfinal SpansSpanDisiWrapper.spansprotected final SpansSpanScorer.spans(package private) final Spans[]ConjunctionSpans.subSpansMethods in org.apache.lucene.queries.spans that return SpansModifier and TypeMethodDescriptionSpanContainingQuery.SpanContainingWeight.getSpans(LeafReaderContext context, SpanWeight.Postings requiredPostings) Return spans frombigthat contain at least one spans fromlittle.SpanNearQuery.SpanGapQuery.SpanGapWeight.getSpans(LeafReaderContext ctx, SpanWeight.Postings requiredPostings) SpanNearQuery.SpanNearWeight.getSpans(LeafReaderContext context, SpanWeight.Postings requiredPostings) SpanNotQuery.SpanNotWeight.getSpans(LeafReaderContext context, SpanWeight.Postings requiredPostings) SpanOrQuery.SpanOrWeight.getSpans(LeafReaderContext context, SpanWeight.Postings requiredPostings) SpanPositionCheckQuery.SpanPositionCheckWeight.getSpans(LeafReaderContext context, SpanWeight.Postings requiredPostings) SpanScorer.getSpans()return the Spans for this Scorer *SpanTermQuery.SpanTermWeight.getSpans(LeafReaderContext context, SpanWeight.Postings requiredPostings) abstract SpansSpanWeight.getSpans(LeafReaderContext ctx, SpanWeight.Postings requiredPostings) Expert: Return a Spans object iterating over matches from this WeightSpanWithinQuery.SpanWithinWeight.getSpans(LeafReaderContext context, SpanWeight.Postings requiredPostings) Return spans fromlittlethat are contained in a spans frombig.Spans[]ConjunctionSpans.getSubSpans()Methods in org.apache.lucene.queries.spans that return types with arguments of type SpansModifier and TypeMethodDescriptionSpanContainQuery.SpanContainWeight.prepareConjunction(LeafReaderContext context, SpanWeight.Postings postings) Methods in org.apache.lucene.queries.spans with parameters of type SpansModifier and TypeMethodDescriptionprotected abstract FilterSpans.AcceptStatusReturns 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.AcceptStatusSpanFirstQuery.acceptPosition(Spans spans) protected abstract FilterSpans.AcceptStatusSpanPositionCheckQuery.acceptPosition(Spans spans) Implementing classes are required to return whether the current position is a match for the passed in "match"SpanQuery.protected FilterSpans.AcceptStatusSpanPositionRangeQuery.acceptPosition(Spans spans) private static voidConjunctionSpans.addSpans(Spans spans, List<DocIdSetIterator> allIterators, List<TwoPhaseIterator> twoPhaseIterators) private static intNearSpansOrdered.advancePosition(Spans spans, int position) protected final booleanprotected boolean(package private) static booleanNearSpansUnordered.positionsOrdered(Spans spans1, Spans spans2) Check whether two Spans in the same document are ordered with possible overlap.Method parameters in org.apache.lucene.queries.spans with type arguments of type SpansModifier and TypeMethodDescriptionprivate static DocIdSetIteratorConjunctionSpans.intersectSpans(List<Spans> spanList) Constructors in org.apache.lucene.queries.spans with parameters of type SpansModifierConstructorDescription(package private)ContainSpans(Spans bigSpans, Spans littleSpans, Spans sourceSpans) protectedFilterSpans(Spans in) Wrap the givenSpans.SpanDisiWrapper(Spans spans) SpanScorer(SpanWeight weight, Spans spans, LeafSimScorer docScorer) Sole constructor.Constructor parameters in org.apache.lucene.queries.spans with type arguments of type SpansModifierConstructorDescription(package private)ConjunctionSpans(List<Spans> subSpans) NearSpansOrdered(int allowedSlop, List<Spans> subSpans) NearSpansUnordered(int allowedSlop, List<Spans> subSpans)