Module org.elasticsearch.server
Class ES93GenericFlatVectorsFormat
java.lang.Object
org.apache.lucene.codecs.KnnVectorsFormat
org.apache.lucene.codecs.hnsw.FlatVectorsFormat
org.elasticsearch.index.codec.vectors.AbstractFlatVectorsFormat
org.elasticsearch.index.codec.vectors.es93.ES93GenericFlatVectorsFormat
- All Implemented Interfaces:
org.apache.lucene.util.NamedSPILoader.NamedSPI
-
Field Summary
FieldsFields inherited from class org.apache.lucene.codecs.KnnVectorsFormat
DEFAULT_MAX_DIMENSIONS, EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionES93GenericFlatVectorsFormat(DenseVectorFieldMapper.ElementType elementType, boolean useDirectIO) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.codecs.hnsw.FlatVectorsReaderfieldsReader(org.apache.lucene.index.SegmentReadState state) org.apache.lucene.codecs.hnsw.FlatVectorsWriterfieldsWriter(org.apache.lucene.index.SegmentWriteState state) org.apache.lucene.codecs.hnsw.FlatVectorsScorertoString()Methods inherited from class org.elasticsearch.index.codec.vectors.AbstractFlatVectorsFormat
getMaxDimensionsMethods inherited from class org.apache.lucene.codecs.KnnVectorsFormat
availableKnnVectorsFormats, forName, getName, reloadKnnVectorsFormat
-
Field Details
-
GENERIC_VECTOR_FORMAT
-
VERSION_START
public static final int VERSION_START- See Also:
-
VERSION_CURRENT
public static final int VERSION_CURRENT- See Also:
-
-
Constructor Details
-
ES93GenericFlatVectorsFormat
public ES93GenericFlatVectorsFormat() -
ES93GenericFlatVectorsFormat
public ES93GenericFlatVectorsFormat(DenseVectorFieldMapper.ElementType elementType, boolean useDirectIO)
-
-
Method Details
-
flatVectorsScorer
public org.apache.lucene.codecs.hnsw.FlatVectorsScorer flatVectorsScorer()- Specified by:
flatVectorsScorerin classAbstractFlatVectorsFormat
-
fieldsWriter
public org.apache.lucene.codecs.hnsw.FlatVectorsWriter fieldsWriter(org.apache.lucene.index.SegmentWriteState state) throws IOException - Specified by:
fieldsWriterin classorg.apache.lucene.codecs.hnsw.FlatVectorsFormat- Throws:
IOException
-
fieldsReader
public org.apache.lucene.codecs.hnsw.FlatVectorsReader fieldsReader(org.apache.lucene.index.SegmentReadState state) throws IOException - Specified by:
fieldsReaderin classorg.apache.lucene.codecs.hnsw.FlatVectorsFormat- Throws:
IOException
-
toString
- Overrides:
toStringin classAbstractFlatVectorsFormat
-