SpanContainingQuery

Keep matches that contain another SpanScorer.

Constructors

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

Types

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

Creates SpanContainingQuery 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 SpanContainingQuery matching spans from big that contain at least one spans from little. This query has the boost of big. big and little must be in the same field.

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