RandomApproximationQuery

class RandomApproximationQuery(query: Query, random: Random) : Query

A Query that adds random approximations to its scorers.

Constructors

Link copied to clipboard
constructor(query: Query, random: Random)

Types

Link copied to clipboard

A wrapper around a DocIdSetIterator that matches the same documents, but introduces false positives that need to be verified via TwoPhaseIterator.matches.

Functions

Link copied to clipboard
open override fun createWeight(searcher: IndexSearcher, scoreMode: ScoreMode, boost: Float): Weight
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
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(): String
open override fun toString(field: String?): String
Link copied to clipboard
open override fun visit(visitor: QueryVisitor)