Module org.elasticsearch.server
Class ES93BFloat16FlatVectorsFormat
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.DirectIOCapableFlatVectorsFormat
org.elasticsearch.index.codec.vectors.es93.ES93BFloat16FlatVectorsFormat
- All Implemented Interfaces:
org.apache.lucene.util.NamedSPILoader.NamedSPI
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.index.codec.vectors.DirectIOCapableFlatVectorsFormat
DirectIOCapableFlatVectorsFormat.DirectIOContext -
Field Summary
FieldsFields inherited from class org.apache.lucene.codecs.KnnVectorsFormat
DEFAULT_MAX_DIMENSIONS, EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionES93BFloat16FlatVectorsFormat(org.apache.lucene.codecs.hnsw.FlatVectorsScorer vectorsScorer) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.lucene.codecs.hnsw.FlatVectorsReadercreateReader(org.apache.lucene.index.SegmentReadState state) org.apache.lucene.codecs.hnsw.FlatVectorsWriterfieldsWriter(org.apache.lucene.index.SegmentWriteState state) org.apache.lucene.codecs.hnsw.FlatVectorsScorerMethods inherited from class org.elasticsearch.index.codec.vectors.DirectIOCapableFlatVectorsFormat
canUseDirectIO, fieldsReader, fieldsReaderMethods inherited from class org.elasticsearch.index.codec.vectors.AbstractFlatVectorsFormat
getMaxDimensions, toStringMethods inherited from class org.apache.lucene.codecs.KnnVectorsFormat
availableKnnVectorsFormats, forName, getName, reloadKnnVectorsFormat
-
Field Details
-
VERSION_START
public static final int VERSION_START- See Also:
-
VERSION_CURRENT
public static final int VERSION_CURRENT- See Also:
-
-
Constructor Details
-
ES93BFloat16FlatVectorsFormat
public ES93BFloat16FlatVectorsFormat(org.apache.lucene.codecs.hnsw.FlatVectorsScorer vectorsScorer)
-
-
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
-
createReader
protected org.apache.lucene.codecs.hnsw.FlatVectorsReader createReader(org.apache.lucene.index.SegmentReadState state) throws IOException - Specified by:
createReaderin classDirectIOCapableFlatVectorsFormat- Throws:
IOException
-