SpanPositionRangeQuery

open class SpanPositionRangeQuery(match: SpanQuery, startInternal: Int, endInternal: Int) : SpanPositionCheckQuery

Checks to see if the getMatch lies between a start and end position

See [SpanFirstQuery] for a derivation that is optimized for the case where start position is 0.

Inheritors

Constructors

Link copied to clipboard
constructor(match: SpanQuery, startInternal: Int, endInternal: 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)