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.
Codecs API: API for customization of the encoding and structure of the index.
Lucene 9.5 file format.
Lucene 9.9 file format.
Simpletext Codec: writes human readable postings.
Code to search indices.
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.analysis.synonym.word2vecClassDescriptionAn
HnswGraph
where all nodes and connections are held in memory.Provides random access to vectors by dense ordinal. -
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. -
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.
-
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.
-
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.
-
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.codecsClassDescriptionA supplier that creates
RandomVectorScorer
from an ordinal.Hierarchical Navigable Small World graph.ARandomVectorScorer
for scoring random nodes in batches against an abstract query. -
Classes in org.apache.lucene.util.hnsw used by org.apache.lucene.codecs.lucene95
-
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.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.simpletext
-
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.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.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.ARandomVectorScorer
for scoring random nodes in batches against an abstract query.A supplier that createsRandomVectorScorer
from an ordinal.