SpanFirstQuery

Matches spans near the beginning of a field.

This class is a simple extension of [SpanPositionRangeQuery] in that it assumes the start to be zero and only checks the end boundary.

Constructors

Link copied to clipboard
constructor(match: SpanQuery, end: Int)

Functions

Link copied to clipboard
open override fun clone(): SpanPositionCheckQuery
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

Returns true iff other is equal to this.

Link copied to clipboard
fun getEnd(): Int
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
fun getStart(): Int
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)