Companion
object Companion
Functions
Link copied to clipboard
Creates a DoubleValuesSource that always returns a constant value
Link copied to clipboard
Creates a DoubleValuesSource that wraps a double-valued field
Link copied to clipboard
Creates a DoubleValuesSource that wraps a float-valued field
Link copied to clipboard
Creates a DoubleValuesSource that wraps an int-valued field
Link copied to clipboard
Creates a DoubleValuesSource that wraps a long-valued field
Link copied to clipboard
Create a DoubleValuesSource that returns the score of a particular query
Link copied to clipboard
Returns a DoubleValues instance that wraps scores returned by a Scorer.
Link copied to clipboard
fun similarityToQueryVector(ctx: LeafReaderContext, queryVector: ByteArray, vectorField: String): DoubleValues
Returns a DoubleValues instance for computing the vector similarity score per document against the byte query vector
fun similarityToQueryVector(ctx: LeafReaderContext, queryVector: FloatArray, vectorField: String): DoubleValues
Returns a DoubleValues instance for computing the vector similarity score per document against the float query vector