Uses of Package
org.apache.lucene.util.hnsw
Packages that use org.apache.lucene.util.hnsw
Package
Description
HNSW vector helper classes.
Lucene 10.2 file format.
Lucene 9.9 file format.
Code to search indices.
Classes related to vector search: knn and vector fields.
Navigable Small-World graph, nominally Hierarchical but currently only has a single layer.
-
Classes in org.apache.lucene.util.hnsw used by org.apache.lucene.codecs.hnswClassDescriptionA supplier that creates
UpdateableRandomVectorScorer
from an ordinal.Hierarchical Navigable Small World graph.ARandomVectorScorer
for scoring random nodes in batches against an abstract query.A supplier that createsRandomVectorScorer
from an ordinal.Just like aRandomVectorScorer
but allows the scoring ordinal to be changed. -
Classes in org.apache.lucene.util.hnsw used by org.apache.lucene.codecs.lucene102ClassDescriptionA supplier that creates
UpdateableRandomVectorScorer
from an ordinal.ARandomVectorScorer
for scoring random nodes in batches against an abstract query.A supplier that createsRandomVectorScorer
from an ordinal. -
Classes in org.apache.lucene.util.hnsw used by org.apache.lucene.codecs.lucene99ClassDescriptionA supplier that creates
UpdateableRandomVectorScorer
from an ordinal.Hierarchical Navigable Small World graph.ARandomVectorScorer
for scoring random nodes in batches against an abstract query.A supplier that createsRandomVectorScorer
from an ordinal. -
Classes in org.apache.lucene.util.hnsw used by org.apache.lucene.searchClassDescriptionNeighborQueue uses a
LongHeap
to store lists of arcs in an HNSW graph, represented as a neighbor node id with an associated score packed together as a sortable long, which is sorted primarily by score. -
Classes in org.apache.lucene.util.hnsw used by org.apache.lucene.search.knn
-
Classes in org.apache.lucene.util.hnsw used by org.apache.lucene.util.hnswClassDescriptionSearches an HNSW graph to find nearest neighbors to a query vector.Interface for builder building the
OnHeapHnswGraph
Hierarchical Navigable Small World graph.Iterator over the graph nodes on a certain level.Builder for HNSW graph.A restricted, specialized knnCollector that can be used when building a graph.Abstraction of merging multiple graphs into one on-heap graphSearches an HNSW graph to find nearest neighbors to a query vector.This merges multiple graphs in a single thread in incremental fashion.Represents a vector reader that contains graph info.This creates a graph builder that is initialized with the provided HnswGraph.Native int to int functionA graph builder that is used during segments' merging.NeighborArray encodes the neighbors of a node and their mutual scores in the HNSW graph as a pair of growable arrays.NeighborQueue uses aLongHeap
to store lists of arcs in an HNSW graph, represented as a neighbor node id with an associated score packed together as a sortable long, which is sorted primarily by score.AnHnswGraph
where all nodes and connections are held in memory.ARandomVectorScorer
for scoring random nodes in batches against an abstract query.A supplier that createsRandomVectorScorer
from an ordinal.Just like aRandomVectorScorer
but allows the scoring ordinal to be changed.