Skip to content

VectorSearchMetric

//fluxbase-kotlin/io.github.nimbleflux.fluxbase.vector/VectorSearchMetric

[jvm]
enum class VectorSearchMetric : Enum<VectorSearchMetric>

Vector similarity metric.

L2 [jvm]
L2
COSINE [jvm]
COSINE
INNER_PRODUCT [jvm]
INNER_PRODUCT
Name Summary
entries [jvm]
val entries: EnumEntries<VectorSearchMetric>
Returns an immutable kotlin.enums.EnumEntries list containing the constants of this enum type, in the order they’re declared.
Name Summary
valueOf [jvm]
fun valueOf(value: String): VectorSearchMetric
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
values [jvm]
fun values(): Array<VectorSearchMetric>
Returns an array containing the constants of this enum type, in the order they’re declared.
Name Summary
name [jvm]
val name: String
ordinal [jvm]
val ordinal: Int
value [jvm]
val value: String