Uses of Interface
org.apache.lucene.index.RandomAccessVectorValues
-
Packages that use RandomAccessVectorValues Package Description org.apache.lucene.index Code to maintain and access indices.org.apache.lucene.util.hnsw Navigable Small-World graph, nominally Hierarchical but currently only has a single layer. -
-
Uses of RandomAccessVectorValues in org.apache.lucene.index
Methods in org.apache.lucene.index that return RandomAccessVectorValues Modifier and Type Method Description RandomAccessVectorValues
RandomAccessVectorValues. copy()
Creates a new copy of thisRandomAccessVectorValues
. -
Uses of RandomAccessVectorValues in org.apache.lucene.util.hnsw
Methods in org.apache.lucene.util.hnsw with parameters of type RandomAccessVectorValues Modifier and Type Method Description void
HnswGraphBuilder. addGraphNode(int node, RandomAccessVectorValues values)
OnHeapHnswGraph
HnswGraphBuilder. build(RandomAccessVectorValues vectorsToAdd)
Reads all the vectors from two copies of a random access VectorValues.static HnswGraphBuilder<?>
HnswGraphBuilder. create(RandomAccessVectorValues vectors, VectorEncoding vectorEncoding, VectorSimilarityFunction similarityFunction, int M, int beamWidth, long seed)
static NeighborQueue
HnswGraphSearcher. search(float[] query, int topK, RandomAccessVectorValues vectors, VectorEncoding vectorEncoding, VectorSimilarityFunction similarityFunction, HnswGraph graph, Bits acceptOrds, int visitedLimit)
Searches HNSW graph for the nearest neighbors of a query vector.NeighborQueue
HnswGraphSearcher. searchLevel(T query, int topK, int level, int[] eps, RandomAccessVectorValues vectors, HnswGraph graph)
Searches for the nearest neighbors of a query vector in a given level.
-