Package org.elasticsearch.nativeaccess
Enum Class VectorSimilarityFunctions.BBQType
java.lang.Object
java.lang.Enum<VectorSimilarityFunctions.BBQType>
org.elasticsearch.nativeaccess.VectorSimilarityFunctions.BBQType
- All Implemented Interfaces:
Serializable,Comparable<VectorSimilarityFunctions.BBQType>,Constable
- Enclosing interface:
VectorSimilarityFunctions
public static enum VectorSimilarityFunctions.BBQType
extends Enum<VectorSimilarityFunctions.BBQType>
The various flavors of BBQ indices. Single vector score returns results as a long.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionbytedataBits()byteReturns the enum constant of this class with the specified name.static VectorSimilarityFunctions.BBQType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
D1Q4
1-bit data, 4-bit queries -
D2Q4
2-bit data, 4-bit queries -
D4Q4
4-bit data, 4-bit queries
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
dataBits
public byte dataBits() -
queryBits
public byte queryBits()
-