Module org.elasticsearch.server
Class DenseVectorFieldMapper.DenseVectorIndexOptions
java.lang.Object
org.elasticsearch.index.mapper.vectors.DenseVectorFieldMapper.DenseVectorIndexOptions
- All Implemented Interfaces:
IndexOptions,ToXContent
- Direct Known Subclasses:
DenseVectorFieldMapper.BBQHnswIndexOptions,DenseVectorFieldMapper.Int4HnswIndexOptions,DenseVectorFieldMapper.Int8HnswIndexOptions
- Enclosing class:
DenseVectorFieldMapper
public abstract static class DenseVectorFieldMapper.DenseVectorIndexOptions
extends Object
implements IndexOptions
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params -
Field Summary
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Method Summary
Modifier and TypeMethodDescriptionfinal booleangetType()final inthashCode()abstract booleanbooleanvalidate(DenseVectorFieldMapper.ElementType elementType, int dim, boolean throwOnError) booleanvalidateDimension(int dim) booleanvalidateDimension(int dim, boolean throwOnError) booleanvalidateElementType(DenseVectorFieldMapper.ElementType elementType) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContent
isFragment, toXContent
-
Method Details
-
validate
public boolean validate(DenseVectorFieldMapper.ElementType elementType, int dim, boolean throwOnError) -
validateElementType
-
updatableTo
-
validateDimension
public boolean validateDimension(int dim) -
validateDimension
public boolean validateDimension(int dim, boolean throwOnError) -
getType
-
equals
-
hashCode
public final int hashCode()
-