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 TypeMethodDescriptionvoidclose()voidfinish()Called once at the end before closevoidwriteField(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:KnnVectorsWriterWrite all values contained in the provided reader- Specified by:
writeFieldin classKnnVectorsWriter- Throws:
IOException
-
finish
Description copied from class:KnnVectorsWriterCalled once at the end before close- Specified by:
finishin classKnnVectorsWriter- Throws:
IOException
-
close
- Throws:
IOException
-