Uses of Class
org.apache.lucene.search.spans.Spans
-
Packages that use Spans Package Description org.apache.lucene.search Code to search indices.org.apache.lucene.search.spans The calculus of spans. -
-
Uses of Spans in org.apache.lucene.search
Fields in org.apache.lucene.search declared as Spans Modifier and Type Field Description SpansDisiWrapper. spansMethod parameters in org.apache.lucene.search with type arguments of type Spans Modifier and Type Method Description static DocIdSetIteratorConjunctionDISI. intersectSpans(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 classFilterSpansASpansimplementation wrapping another spans instance, allowing to filter spans matches easily by implementingFilterSpans.accept(org.apache.lucene.search.spans.Spans)classNearSpansOrderedA Spans that is formed from the ordered subspans of a SpanNearQuery where the subspans do not overlap and have a maximum slop between them.classNearSpansUnorderedSimilar toNearSpansOrdered, but for the unordered case.classTermSpansExpert: Public for extension only.Fields in org.apache.lucene.search.spans declared as Spans Modifier and Type Field Description protected SpansFilterSpans. inThe wrapped spans instance.protected SpansSpanScorer. spansMethods in org.apache.lucene.search.spans that return Spans Modifier and Type Method Description SpansSpanContainingQuery.SpanContainingWeight. getSpans(LeafReaderContext context, SpanWeight.Postings requiredPostings)Return spans frombigthat contain at least one spans fromlittle.SpansSpanNearQuery.SpanNearWeight. getSpans(LeafReaderContext context, SpanWeight.Postings requiredPostings)SpansSpanNotQuery.SpanNotWeight. getSpans(LeafReaderContext context, SpanWeight.Postings requiredPostings)SpansSpanOrQuery.SpanOrWeight. getSpans(LeafReaderContext context, SpanWeight.Postings requiredPostings)SpansSpanPositionCheckQuery.SpanPositionCheckWeight. getSpans(LeafReaderContext context, SpanWeight.Postings requiredPostings)SpansSpanScorer. getSpans()return the Spans for this ScorerSpansSpanTermQuery.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 WeightSpansSpanWithinQuery.SpanWithinWeight. getSpans(LeafReaderContext context, SpanWeight.Postings requiredPostings)Return spans fromlittlethat are contained in a spans frombig.Methods in org.apache.lucene.search.spans with parameters of type Spans Modifier and Type Method Description protected abstract FilterSpans.AcceptStatusFilterSpans. 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.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)Constructors in org.apache.lucene.search.spans with parameters of type Spans Constructor Description 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 NearSpansOrdered(int allowedSlop, List<Spans> subSpans)NearSpansUnordered(int allowedSlop, List<Spans> subSpans)
-