SpanWithinQuery

Keep matches that are contained within another Spans.

Constructors

Link copied to clipboard
constructor(big: SpanQuery, little: SpanQuery)

Types

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

Creates SpanWithinQuery scorer instances

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun clone(): SpanContainQuery
Link copied to clipboard
open override fun createWeight(searcher: IndexSearcher, scoreMode: ScoreMode, boost: Float): SpanWeight
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
Link copied to clipboard
open override fun getField(): String?

Returns the name of the field matched by this query.

Link copied to clipboard
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun rewrite(indexSearcher: IndexSearcher): Query
Link copied to clipboard
fun toString(field: String?, name: String): String
open override fun toString(): String

open override fun toString(field: String?): String

Construct a SpanWithinQuery matching spans from little that are inside of big. This query has the boost of little. big and little must be in the same field.

Link copied to clipboard
open override fun visit(visitor: QueryVisitor)