Uses of Class
org.apache.lucene.index.FloatVectorValues
Packages that use FloatVectorValues
Package
Description
Analysis components for Synonyms using Word2Vec model.
Lucene 9.0 file format.
Lucene 9.1 file format.
Lucene 9.2 file format.
Lucene 9.4 file format.
Lucene 9.5 file format.
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.
Simpletext Codec: writes human readable postings.
Code to maintain and access indices.
High-performance single-document main memory Apache Lucene fulltext search index.
This package implements KMeans algorithm for clustering vectors
Highlighting search terms.
Provides quantization methods for scaling vector values to smaller data types and possibly fewer
dimensions
-
Uses of FloatVectorValues in org.apache.lucene.analysis.synonym.word2vec
Subclasses of FloatVectorValues in org.apache.lucene.analysis.synonym.word2vecModifier and TypeClassDescriptionclassWord2VecModel is a class representing the parsed Word2Vec model containing the vectors for each word in dictionary -
Uses of FloatVectorValues in org.apache.lucene.backward_codecs.lucene90
Subclasses of FloatVectorValues in org.apache.lucene.backward_codecs.lucene90Modifier and TypeClassDescription(package private) static classRead the vector values from the index input.Fields in org.apache.lucene.backward_codecs.lucene90 declared as FloatVectorValuesModifier and TypeFieldDescriptionprivate final FloatVectorValuesLucene90HnswGraphBuilder.buildVectorsprivate final FloatVectorValuesLucene90HnswGraphBuilder.vectorValuesMethods in org.apache.lucene.backward_codecs.lucene90 that return FloatVectorValuesMethods in org.apache.lucene.backward_codecs.lucene90 with parameters of type FloatVectorValuesModifier and TypeMethodDescriptionLucene90HnswGraphBuilder.build(FloatVectorValues vectors) Reads all the vectors from two copies of aFloatVectorValues.private booleanLucene90HnswGraphBuilder.diversityCheck(float[] candidate, float score, Lucene90NeighborArray neighbors, FloatVectorValues vectorValues) static NeighborQueueLucene90OnHeapHnswGraph.search(float[] query, int topK, int numSeed, FloatVectorValues vectors, VectorSimilarityFunction similarityFunction, HnswGraph graphValues, Bits acceptOrds, long visitedLimit, SplittableRandom random) Searches for the nearest neighbors of a query vector.Constructors in org.apache.lucene.backward_codecs.lucene90 with parameters of type FloatVectorValuesModifierConstructorDescriptionLucene90HnswGraphBuilder(FloatVectorValues vectors, VectorSimilarityFunction similarityFunction, int maxConn, int beamWidth, long seed) Reads all the vectors from vector values, builds a graph connecting them by their dense ordinals, using the given hyperparameter settings, and returns the resulting graph. -
Uses of FloatVectorValues in org.apache.lucene.backward_codecs.lucene91
Subclasses of FloatVectorValues in org.apache.lucene.backward_codecs.lucene91Modifier and TypeClassDescription(package private) static classRead the vector values from the index input.Methods in org.apache.lucene.backward_codecs.lucene91 that return FloatVectorValues -
Uses of FloatVectorValues in org.apache.lucene.backward_codecs.lucene92
Subclasses of FloatVectorValues in org.apache.lucene.backward_codecs.lucene92Modifier and TypeClassDescription(package private) classRead the vector values from the index input.(package private) static classprivate static classprivate static classMethods in org.apache.lucene.backward_codecs.lucene92 that return FloatVectorValues -
Uses of FloatVectorValues in org.apache.lucene.backward_codecs.lucene94
Subclasses of FloatVectorValues in org.apache.lucene.backward_codecs.lucene94Modifier and TypeClassDescription(package private) classRead the vector values from the index input.(package private) static classprivate static classprivate static classMethods in org.apache.lucene.backward_codecs.lucene94 that return FloatVectorValues -
Uses of FloatVectorValues in org.apache.lucene.backward_codecs.lucene95
Methods in org.apache.lucene.backward_codecs.lucene95 that return FloatVectorValues -
Uses of FloatVectorValues in org.apache.lucene.codecs
Subclasses of FloatVectorValues in org.apache.lucene.codecsModifier and TypeClassDescriptionprivate static classprivate static classSorting FloatVectorValues that iterate over documents in the order of the provided sortMap(package private) static classFields in org.apache.lucene.codecs declared as FloatVectorValuesModifier and TypeFieldDescription(package private) final FloatVectorValuesKnnVectorsWriter.FloatVectorValuesSub.valuesMethods in org.apache.lucene.codecs that return FloatVectorValuesModifier and TypeMethodDescriptionKnnVectorsWriter.MergedVectorValues.MergedFloat32VectorValues.copy()abstract FloatVectorValuesKnnVectorsReader.getFloatVectorValues(String field) Returns theFloatVectorValuesfor the givenfield.static FloatVectorValuesKnnVectorsWriter.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 voidBufferingKnnVectorsWriter.writeField(FieldInfo fieldInfo, FloatVectorValues floatVectorValues, int maxDoc) Write the provided float vector fieldConstructors in org.apache.lucene.codecs with parameters of type FloatVectorValuesModifierConstructorDescription(package private)FloatVectorValuesSub(MergeState.DocMap docMap, FloatVectorValues values) -
Uses of FloatVectorValues in org.apache.lucene.codecs.hnsw
Fields in org.apache.lucene.codecs.hnsw declared as FloatVectorValuesModifier and TypeFieldDescriptionprivate final FloatVectorValuesDefaultFlatVectorScorer.FloatVectorScorer.valuesprivate final FloatVectorValuesDefaultFlatVectorScorer.FloatScoringSupplier.vectorsprivate final FloatVectorValuesDefaultFlatVectorScorer.FloatScoringSupplier.vectors1private final FloatVectorValuesDefaultFlatVectorScorer.FloatScoringSupplier.vectors2Constructors in org.apache.lucene.codecs.hnsw with parameters of type FloatVectorValuesModifierConstructorDescriptionprivateFloatScoringSupplier(FloatVectorValues vectors, VectorSimilarityFunction similarityFunction) FloatVectorScorer(FloatVectorValues values, float[] query, VectorSimilarityFunction similarityFunction) -
Uses of FloatVectorValues in org.apache.lucene.codecs.lucene95
Subclasses of FloatVectorValues in org.apache.lucene.codecs.lucene95Modifier and TypeClassDescriptionclassRead the vector values from the index input.static classDense vector values that are stored off-heap.private static classprivate static class -
Uses of FloatVectorValues in org.apache.lucene.codecs.lucene99
Subclasses of FloatVectorValues in org.apache.lucene.codecs.lucene99Modifier and TypeClassDescriptionprivate static final class(package private) static class(package private) static final classFields in org.apache.lucene.codecs.lucene99 declared as FloatVectorValuesModifier and TypeFieldDescriptionprivate final FloatVectorValuesLucene99ScalarQuantizedVectorsReader.QuantizedVectorValues.rawVectorValuesprivate final FloatVectorValuesLucene99ScalarQuantizedVectorsWriter.NormalizedFloatVectorValues.valuesprivate final FloatVectorValuesLucene99ScalarQuantizedVectorsWriter.QuantizedFloatVectorValues.valuesMethods in org.apache.lucene.codecs.lucene99 that return FloatVectorValuesModifier and TypeMethodDescriptionLucene99ScalarQuantizedVectorsWriter.FloatVectorWrapper.copy()Lucene99FlatVectorsReader.getFloatVectorValues(String field) Lucene99HnswVectorsReader.getFloatVectorValues(String field) Lucene99ScalarQuantizedVectorsReader.getFloatVectorValues(String field) Methods in org.apache.lucene.codecs.lucene99 with parameters of type FloatVectorValuesModifier and TypeMethodDescription(package private) static ScalarQuantizerLucene99ScalarQuantizedVectorsWriter.buildScalarQuantizer(FloatVectorValues floatVectorValues, int numVectors, VectorSimilarityFunction vectorSimilarityFunction, Float confidenceInterval, byte bits) private static DocsWithFieldSetLucene99FlatVectorsWriter.writeVectorData(IndexOutput output, FloatVectorValues floatVectorValues) Writes the vector values to the output and returns a set of documents that contains vectors.Constructors in org.apache.lucene.codecs.lucene99 with parameters of type FloatVectorValuesModifierConstructorDescriptionQuantizedFloatVectorValues(FloatVectorValues values, VectorSimilarityFunction vectorSimilarityFunction, ScalarQuantizer quantizer) (package private)QuantizedVectorValues(FloatVectorValues rawVectorValues, QuantizedByteVectorValues quantizedVectorValues) -
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.codecs.simpletext
Subclasses of FloatVectorValues in org.apache.lucene.codecs.simpletextModifier and TypeClassDescriptionprivate static classMethods in org.apache.lucene.codecs.simpletext that return FloatVectorValuesMethods in org.apache.lucene.codecs.simpletext with parameters of type FloatVectorValuesModifier and TypeMethodDescriptionvoidSimpleTextKnnVectorsWriter.writeField(FieldInfo fieldInfo, FloatVectorValues floatVectorValues, int maxDoc) private voidSimpleTextKnnVectorsWriter.writeFloatVectorValue(FloatVectorValues vectors, int ord) -
Uses of FloatVectorValues in org.apache.lucene.index
Subclasses of FloatVectorValues in org.apache.lucene.indexModifier and TypeClassDescriptionprivate class(package private) classprivate static classSorting FloatVectorValues that maps ordinals using the provided sortMapFields in org.apache.lucene.index declared as FloatVectorValuesModifier and TypeFieldDescription(package private) final FloatVectorValuesSortingCodecReader.SortingFloatVectorValues.delegateprivate final FloatVectorValuesExitableDirectoryReader.ExitableFilterAtomicReader.ExitableFloatVectorValues.vectorValuesFields in org.apache.lucene.index with type parameters of type FloatVectorValuesModifier and TypeFieldDescription(package private) final SlowCompositeCodecReaderWrapper.MergedDocIterator<FloatVectorValues> SlowCompositeCodecReaderWrapper.SlowCompositeKnnVectorsReaderWrapper.MergedFloatVectorValues.iterMethods in org.apache.lucene.index that return FloatVectorValuesModifier and TypeMethodDescriptionExitableDirectoryReader.ExitableFilterAtomicReader.ExitableFloatVectorValues.copy()abstract FloatVectorValuesFloatVectorValues.copy()SlowCompositeCodecReaderWrapper.SlowCompositeKnnVectorsReaderWrapper.MergedFloatVectorValues.copy()SortingCodecReader.SortingFloatVectorValues.copy()static FloatVectorValuesFloatVectorValues.fromFloats(List<float[]> vectors, int dim) Creates aFloatVectorValuesfrom a list of float arrays.final FloatVectorValuesCodecReader.getFloatVectorValues(String field) final FloatVectorValuesDocValuesLeafReader.getFloatVectorValues(String field) ExitableDirectoryReader.ExitableFilterAtomicReader.getFloatVectorValues(String field) FilterLeafReader.getFloatVectorValues(String field) abstract FloatVectorValuesLeafReader.getFloatVectorValues(String field) ReturnsFloatVectorValuesfor this field, or null if noFloatVectorValueswere indexed.ParallelLeafReader.getFloatVectorValues(String fieldName) SlowCompositeCodecReaderWrapper.SlowCompositeKnnVectorsReaderWrapper.getFloatVectorValues(String field) Methods in org.apache.lucene.index that return types with arguments of type FloatVectorValuesModifier and TypeMethodDescriptionSlowCompositeCodecReaderWrapper.SlowCompositeKnnVectorsReaderWrapper.MergedFloatVectorValues.iterator()Methods in org.apache.lucene.index with parameters of type FloatVectorValuesModifier and TypeMethodDescriptionprivate static voidCheckIndex.checkFloatVectorValues(FloatVectorValues values, FieldInfo fieldInfo, CheckIndex.Status.VectorValuesStatus status, CodecReader codecReader) Constructors in org.apache.lucene.index with parameters of type FloatVectorValuesModifierConstructorDescriptionExitableFloatVectorValues(FloatVectorValues vectorValues) (package private)SortingFloatVectorValues(FloatVectorValues delegate, Sorter.DocMap sortMap) Constructor parameters in org.apache.lucene.index with type arguments of type FloatVectorValuesModifierConstructorDescription(package private)MergedFloatVectorValues(int dimension, int size, List<SlowCompositeCodecReaderWrapper.DocValuesSub<FloatVectorValues>> subs) -
Uses of FloatVectorValues in org.apache.lucene.index.memory
Subclasses of FloatVectorValues in org.apache.lucene.index.memoryMethods in org.apache.lucene.index.memory that return FloatVectorValuesModifier and TypeMethodDescriptionMemoryIndex.MemoryIndexReader.getFloatVectorValues(String fieldName) -
Uses of FloatVectorValues in org.apache.lucene.sandbox.codecs.quantization
Subclasses of FloatVectorValues in org.apache.lucene.sandbox.codecs.quantizationModifier and TypeClassDescriptionclassA reader of vector values that samples a subset of the vectors.Fields in org.apache.lucene.sandbox.codecs.quantization declared as FloatVectorValuesModifier and TypeFieldDescriptionprivate final FloatVectorValuesSampleReader.originprivate final FloatVectorValuesKMeans.vectorsMethods in org.apache.lucene.sandbox.codecs.quantization that return FloatVectorValuesMethods in org.apache.lucene.sandbox.codecs.quantization with parameters of type FloatVectorValuesModifier and TypeMethodDescription(package private) static voidKMeans.assignCentroids(FloatVectorValues vectors, float[][] centroids, List<Integer> unassignedCentroidsIdxs) For centroids that did not get any points, assign outlying points to them chose points by descending distance to the current centroid setstatic KMeans.ResultsKMeans.cluster(FloatVectorValues vectors, int numClusters, boolean assignCentroidsToVectors, long seed, KMeans.KmeansInitializationMethod initializationMethod, boolean normalizeCenters, int restarts, int iters, int sampleSize) Expert: Cluster vectors into a given number of clustersstatic KMeans.ResultsKMeans.cluster(FloatVectorValues vectors, VectorSimilarityFunction similarityFunction, int numClusters) Cluster vectors into a given number of clustersstatic SampleReaderSampleReader.createSampleReader(FloatVectorValues origin, int k, long seed) private static doubleKMeans.runKMeansStep(FloatVectorValues vectors, float[][] centroids, short[] docCentroids, boolean useKahanSummation, boolean normalizeCentroids) Run kmeans stepConstructors in org.apache.lucene.sandbox.codecs.quantization with parameters of type FloatVectorValuesModifierConstructorDescriptionprivateKMeans(FloatVectorValues vectors, int numCentroids, Random random, KMeans.KmeansInitializationMethod initializationMethod, int restarts, int iters) (package private)SampleReader(FloatVectorValues origin, int sampleSize, IntUnaryOperator sampleFunction) -
Uses of FloatVectorValues in org.apache.lucene.search.highlight
Methods in org.apache.lucene.search.highlight that return FloatVectorValues -
Uses of FloatVectorValues in org.apache.lucene.util.quantization
Methods in org.apache.lucene.util.quantization with parameters of type FloatVectorValuesModifier and TypeMethodDescriptionstatic ScalarQuantizerScalarQuantizer.fromVectors(FloatVectorValues floatVectorValues, float confidenceInterval, int totalVectorCount, byte bits) This will read the float vector values and calculate the quantiles.(package private) static ScalarQuantizerScalarQuantizer.fromVectors(FloatVectorValues floatVectorValues, float confidenceInterval, int totalVectorCount, byte bits, int quantizationSampleSize) static ScalarQuantizerScalarQuantizer.fromVectorsAutoInterval(FloatVectorValues floatVectorValues, VectorSimilarityFunction function, int totalVectorCount, byte bits)