Uses of Class
org.apache.lucene.index.FloatVectorValues
Packages that use FloatVectorValues
Package
Description
Codecs API: API for customization of the encoding and structure of the index.
HNSW vector helper classes.
Lucene 9.5 file format.
Lucene 9.9 file format.
Postings format that can delegate to different formats per-field.
Code to maintain and access indices.
Provides quantization methods for scaling vector values to smaller data types and possibly fewer
dimensions
-
Uses of FloatVectorValues in org.apache.lucene.codecs
Methods in org.apache.lucene.codecs that return FloatVectorValuesModifier and TypeMethodDescriptionabstract FloatVectorValues
KnnVectorsReader.getFloatVectorValues
(String field) Returns theFloatVectorValues
for the givenfield
.static FloatVectorValues
KnnVectorsWriter.MergedVectorValues.mergeFloatVectorValues
(FieldInfo fieldInfo, MergeState mergeState) Returns a merged view over all the segment'sFloatVectorValues
.Methods in org.apache.lucene.codecs with parameters of type FloatVectorValuesModifier and TypeMethodDescriptionprotected abstract void
BufferingKnnVectorsWriter.writeField
(FieldInfo fieldInfo, FloatVectorValues floatVectorValues, int maxDoc) Write the provided float vector field -
Uses of FloatVectorValues in org.apache.lucene.codecs.hnsw
Methods in org.apache.lucene.codecs.hnsw that return FloatVectorValuesModifier and TypeMethodDescriptionabstract FloatVectorValues
FlatVectorsReader.getFloatVectorValues
(String field) Returns theFloatVectorValues
for the givenfield
. -
Uses of FloatVectorValues in org.apache.lucene.codecs.lucene95
Subclasses of FloatVectorValues in org.apache.lucene.codecs.lucene95Modifier and TypeClassDescriptionclass
Read the vector values from the index input.static class
Dense vector values that are stored off-heap. -
Uses of FloatVectorValues in org.apache.lucene.codecs.lucene99
Methods in org.apache.lucene.codecs.lucene99 that return FloatVectorValuesModifier and TypeMethodDescriptionLucene99FlatVectorsReader.getFloatVectorValues
(String field) Lucene99HnswVectorsReader.getFloatVectorValues
(String field) Lucene99ScalarQuantizedVectorsReader.getFloatVectorValues
(String field) -
Uses of FloatVectorValues in org.apache.lucene.codecs.perfield
Methods in org.apache.lucene.codecs.perfield that return FloatVectorValuesModifier and TypeMethodDescriptionPerFieldKnnVectorsFormat.FieldsReader.getFloatVectorValues
(String field) -
Uses of FloatVectorValues in org.apache.lucene.index
Subclasses of FloatVectorValues in org.apache.lucene.indexModifier and TypeClassDescriptionclass
Delegates all methods to a wrappedFloatVectorValues
.class
Deprecated.Fields in org.apache.lucene.index declared as FloatVectorValuesModifier and TypeFieldDescriptionprotected final FloatVectorValues
FilterVectorValues.in
Wrapped valuesMethods in org.apache.lucene.index that return FloatVectorValuesModifier and TypeMethodDescriptionfinal FloatVectorValues
CodecReader.getFloatVectorValues
(String field) ExitableDirectoryReader.ExitableFilterAtomicReader.getFloatVectorValues
(String field) FilterLeafReader.getFloatVectorValues
(String field) abstract FloatVectorValues
LeafReader.getFloatVectorValues
(String field) ReturnsFloatVectorValues
for this field, or null if noFloatVectorValues
were indexed.ParallelLeafReader.getFloatVectorValues
(String fieldName) Constructors in org.apache.lucene.index with parameters of type FloatVectorValuesModifierConstructorDescriptionprotected
Sole constructor -
Uses of FloatVectorValues in org.apache.lucene.util.quantization
Methods in org.apache.lucene.util.quantization with parameters of type FloatVectorValuesModifier and TypeMethodDescriptionstatic ScalarQuantizer
ScalarQuantizer.fromVectors
(FloatVectorValues floatVectorValues, float confidenceInterval, int totalVectorCount, byte bits) This will read the float vector values and calculate the quantiles.static ScalarQuantizer
ScalarQuantizer.fromVectorsAutoInterval
(FloatVectorValues floatVectorValues, VectorSimilarityFunction function, int totalVectorCount, byte bits)
FloatVectorValues
instead