SpanWithinWeight

inner class SpanWithinWeight(searcher: IndexSearcher, terms: Map<Term, TermStates>?, bigWeight: SpanWeight, littleWeight: SpanWeight, boost: Float) : SpanContainQuery.SpanContainWeight

Creates SpanWithinQuery scorer instances

Constructors

Link copied to clipboard
constructor(searcher: IndexSearcher, terms: Map<Term, TermStates>?, bigWeight: SpanWeight, littleWeight: SpanWeight, boost: Float)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val query: Query

Functions

Link copied to clipboard
Link copied to clipboard
open fun count(context: LeafReaderContext): Int
Link copied to clipboard
open override fun explain(context: LeafReaderContext, doc: Int): Explanation
Link copied to clipboard
open override fun extractTermStates(contexts: MutableMap<Term, TermStates>)

Collect all TermStates used by this Weight

Link copied to clipboard

Return the SimScorer

Link copied to clipboard
open override fun getSpans(context: LeafReaderContext, requiredPostings: SpanWeight.Postings): Spans?

Return spans from little that are contained in a spans from big. The payload is from the spans of little.

Link copied to clipboard
open override fun isCacheable(ctx: LeafReaderContext): Boolean
Link copied to clipboard
open override fun matches(context: LeafReaderContext, doc: Int): Matches?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun scorerSupplier(context: LeafReaderContext): ScorerSupplier?