Module org.elasticsearch.server
Class DenseVectorFieldMapper.Int8HnswIndexOptions
java.lang.Object
org.elasticsearch.index.mapper.vectors.DenseVectorFieldMapper.DenseVectorIndexOptions
org.elasticsearch.index.mapper.vectors.DenseVectorFieldMapper.Int8HnswIndexOptions
- All Implemented Interfaces:
IndexOptions,ToXContent
- Enclosing class:
DenseVectorFieldMapper
public static class DenseVectorFieldMapper.Int8HnswIndexOptions
extends DenseVectorFieldMapper.DenseVectorIndexOptions
-
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 -
Constructor Summary
ConstructorsConstructorDescriptionInt8HnswIndexOptions(int m, int efConstruction, Float confidenceInterval, DenseVectorFieldMapper.RescoreVector rescoreVector) -
Method Summary
Modifier and TypeMethodDescriptionbooleanintorg.apache.lucene.codecs.KnnVectorsFormatgetVectorsFormat(DenseVectorFieldMapper.ElementType elementType) toString()toXContent(XContentBuilder builder, ToXContent.Params params) booleanMethods inherited from class org.elasticsearch.index.mapper.vectors.DenseVectorFieldMapper.DenseVectorIndexOptions
equals, getType, hashCode, validate, validateDimension, validateDimension, validateElementTypeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContent
isFragment
-
Constructor Details
-
Int8HnswIndexOptions
public Int8HnswIndexOptions(int m, int efConstruction, Float confidenceInterval, DenseVectorFieldMapper.RescoreVector rescoreVector)
-
-
Method Details
-
getVectorsFormat
public org.apache.lucene.codecs.KnnVectorsFormat getVectorsFormat(DenseVectorFieldMapper.ElementType elementType) -
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Throws:
IOException
-
doEquals
-
doHashCode
public int doHashCode() -
toString
-
updatableTo
- Specified by:
updatableToin classDenseVectorFieldMapper.DenseVectorIndexOptions
-