SpanOrQuery

Matches the union of its clauses.

Constructors

Link copied to clipboard
constructor(vararg clauses: SpanQuery)

Construct a SpanOrQuery merging the provided clauses. All clauses must have the same field.

Types

Link copied to clipboard
inner class SpanOrWeight(searcher: IndexSearcher, terms: Map<Term, TermStates>?, val subWeights: List<SpanWeight>, boost: Float) : SpanWeight

Creates SpanOrQuery scorer instances

Functions

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

Return the clauses whose spans are matched.

Link copied to clipboard
open override fun getField(): String?

Returns the name of the field matched by this query.

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