Class Lucene91HnswVectorsWriter
java.lang.Object
org.apache.lucene.codecs.KnnVectorsWriter
org.apache.lucene.codecs.lucene91.Lucene91HnswVectorsWriter
- All Implemented Interfaces:
Closeable
,AutoCloseable
Writes vector values and knn graphs to index segments.
- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
finish()
Called once at the end before closevoid
writeField
(FieldInfo fieldInfo, KnnVectorsReader knnVectorsReader) Write all values contained in the provided readerMethods inherited from class org.apache.lucene.codecs.KnnVectorsWriter
merge
-
Method Details
-
writeField
Description copied from class:KnnVectorsWriter
Write all values contained in the provided reader- Specified by:
writeField
in classKnnVectorsWriter
- Throws:
IOException
-
finish
Description copied from class:KnnVectorsWriter
Called once at the end before close- Specified by:
finish
in classKnnVectorsWriter
- Throws:
IOException
-
close
- Throws:
IOException
-