Uses of Package
org.apache.lucene.util.hnsw
Packages that use org.apache.lucene.util.hnsw
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.
A simple bit-vector format that supports hamming distance and storing vectors in an HNSW graph
HNSW vector helper classes.
Lucene 9.5 file format.
Lucene 9.9 file format.
Code to search indices.
Support for index-time and query-time joins.
Classes related to vector search: knn and vector fields.
Navigable Small-World graph, nominally Hierarchical but currently only has a single layer.
Provides quantization methods for scaling vector values to smaller data types and possibly fewer
dimensions
-
Classes in org.apache.lucene.util.hnsw used by org.apache.lucene.analysis.synonym.word2vecClassDescriptionAn
HnswGraph
where all nodes and connections are held in memory.Provides random access to vectors by dense ordinal.Float vector values. -
Classes in org.apache.lucene.util.hnsw used by org.apache.lucene.backward_codecs.lucene90ClassDescriptionHierarchical Navigable Small World graph.Iterator over the graph nodes on a certain level, Iterator also provides the size – the total number of nodes to be iterated over.NeighborQueue 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.Provides random access to vectors by dense ordinal.Float vector values. -
Classes in org.apache.lucene.util.hnsw used by org.apache.lucene.backward_codecs.lucene91ClassDescriptionHierarchical Navigable Small World graph.Iterator over the graph nodes on a certain level, Iterator also provides the size – the total number of nodes to be iterated over.Provides random access to vectors by dense ordinal.Float vector values.
-
Classes in org.apache.lucene.util.hnsw used by org.apache.lucene.backward_codecs.lucene92ClassDescriptionHierarchical Navigable Small World graph.Iterator over the graph nodes on a certain level, Iterator also provides the size – the total number of nodes to be iterated over.Provides random access to vectors by dense ordinal.Float vector values.
-
Classes in org.apache.lucene.util.hnsw used by org.apache.lucene.backward_codecs.lucene94ClassDescriptionHierarchical Navigable Small World graph.Iterator over the graph nodes on a certain level, Iterator also provides the size – the total number of nodes to be iterated over.Provides random access to vectors by dense ordinal.Byte vector values.Float vector values.
-
Classes in org.apache.lucene.util.hnsw used by org.apache.lucene.backward_codecs.lucene95ClassDescriptionHierarchical Navigable Small World graph.Iterator over the graph nodes on a certain level, Iterator also provides the size – the total number of nodes to be iterated over.
-
Classes in org.apache.lucene.util.hnsw used by org.apache.lucene.codecs.bitvectorsClassDescriptionProvides random access to vectors by dense ordinal.Byte vector values.A
RandomVectorScorer
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.hnswClassDescriptionA supplier that creates
RandomVectorScorer
from an ordinal.Hierarchical Navigable Small World graph.Provides random access to vectors by dense ordinal.Byte vector values.Float vector values.ARandomVectorScorer
for scoring random nodes in batches against an abstract query.Creates a default scorer for random access vectors.A supplier that createsRandomVectorScorer
from an ordinal. -
Classes in org.apache.lucene.util.hnsw used by org.apache.lucene.codecs.lucene95ClassDescriptionProvides random access to vectors by dense ordinal.Byte vector values.Float vector values.
-
Classes in org.apache.lucene.util.hnsw used by org.apache.lucene.codecs.lucene99ClassDescriptionA supplier that creates
RandomVectorScorer
from an ordinal.Hierarchical Navigable Small World graph.Iterator over the graph nodes on a certain level, Iterator also provides the size – the total number of nodes to be iterated over.Builder for HNSW graph.Abstraction of merging multiple graphs into one on-heap graphNeighborArray encodes the neighbors of a node and their mutual scores in the HNSW graph as a pair of growable arrays.AnHnswGraph
where all nodes and connections are held in memory.Provides random access to vectors by dense ordinal.Byte vector values.ARandomVectorScorer
for scoring random nodes in batches against an abstract query.Creates a default scorer for random access vectors.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.join
-
Classes in org.apache.lucene.util.hnsw used by org.apache.lucene.search.knnClassDescriptionA blocking bounded min heap that stores floats.A bounded min heap that stores floats.
-
Classes in org.apache.lucene.util.hnsw used by org.apache.lucene.util.hnswClassDescriptionInterface for builder building the
OnHeapHnswGraph
Hierarchical Navigable Small World graph.Iterator over the graph nodes on a certain level, Iterator also provides the size – the total number of nodes to be iterated over.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.Provide (read-and-write) locked access to rows of an OnHeapHnswGraph.A component (also "connected component") of an undirected graph is a collection of nodes that are connected by neighbor links: every node in a connected component is reachable from every other node in the component.This selects the biggest Hnsw graph from the provided merge state and initializes a new HnswGraphBuilder with that graph as a starting point.This creates a graph builder that is initialized with the provided HnswGraph.Native int to int functionNeighborArray 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.Provides random access to vectors by dense ordinal.Byte vector values.Float vector values.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.util.quantizationClassDescriptionProvides random access to vectors by dense ordinal.Byte vector values.