RandomSimilarity

Similarity implementation that randomizes Similarity implementations per-field.

The choices are 'sticky', so the selected algorithm is always used for the same field.

Constructors

Link copied to clipboard
constructor(random: Random)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun computeNorm(state: FieldInvertState): Long
Link copied to clipboard
open override fun get(name: String): Similarity
Link copied to clipboard
open override fun scorer(boost: Float, collectionStats: CollectionStatistics, vararg termStats: TermStatistics): Similarity.SimScorer
Link copied to clipboard
open override fun toString(): String