Uses of Class
org.apache.lucene.codecs.KnnVectorsFormat
Packages that use KnnVectorsFormat
Package
Description
Codecs API: API for customization of the encoding and structure of the index.
HNSW vector helper classes.
Lucene 10.4 file format.
Lucene 9.9 file format.
Postings format that can delegate to different formats per-field.
-
Uses of KnnVectorsFormat in org.apache.lucene.codecs
Fields in org.apache.lucene.codecs declared as KnnVectorsFormatModifier and TypeFieldDescriptionstatic final KnnVectorsFormatKnnVectorsFormat.EMPTYEMPTY throws an exception when written.Methods in org.apache.lucene.codecs that return KnnVectorsFormatModifier and TypeMethodDescriptionstatic KnnVectorsFormatlooks up a format by nameabstract KnnVectorsFormatCodec.knnVectorsFormat()Encodes/decodes numeric vector fieldsFilterCodec.knnVectorsFormat() -
Uses of KnnVectorsFormat in org.apache.lucene.codecs.hnsw
Subclasses of KnnVectorsFormat in org.apache.lucene.codecs.hnswModifier and TypeClassDescriptionclassEncodes/decodes per-document vectors and provides a scoring interface for the flat stored vectors -
Uses of KnnVectorsFormat in org.apache.lucene.codecs.lucene104
Subclasses of KnnVectorsFormat in org.apache.lucene.codecs.lucene104Modifier and TypeClassDescriptionclassA vectors format that uses HNSW graph to store and search for vectors.classThe quantization format used here is a per-vector optimized scalar quantization.Methods in org.apache.lucene.codecs.lucene104 that return KnnVectorsFormatModifier and TypeMethodDescriptionLucene104Codec.getKnnVectorsFormatForField(String field) Returns the vectors format that should be used for writing new segments offieldfinal KnnVectorsFormatLucene104Codec.knnVectorsFormat() -
Uses of KnnVectorsFormat in org.apache.lucene.codecs.lucene99
Subclasses of KnnVectorsFormat in org.apache.lucene.codecs.lucene99Modifier and TypeClassDescriptionfinal classLucene 9.9 flat vector format, which encodes numeric vector valuesfinal classLucene 9.9 vector format, which encodes numeric vector values into an associated graph connecting the documents having values. -
Uses of KnnVectorsFormat in org.apache.lucene.codecs.perfield
Subclasses of KnnVectorsFormat in org.apache.lucene.codecs.perfieldModifier and TypeClassDescriptionclassEnables per field numeric vector support.Methods in org.apache.lucene.codecs.perfield that return KnnVectorsFormatModifier and TypeMethodDescriptionabstract KnnVectorsFormatPerFieldKnnVectorsFormat.getKnnVectorsFormatForField(String field) Returns the numeric vector format that should be used for writing new segments offield.