Uses of Class
org.apache.lucene.util.hnsw.HnswGraph.NodesIterator
Packages that use HnswGraph.NodesIterator
Package
Description
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.
Lucene 9.9 file format.
Navigable Small-World graph, nominally Hierarchical but currently only has a single layer.
-
Uses of HnswGraph.NodesIterator in org.apache.lucene.backward_codecs.lucene90
Methods in org.apache.lucene.backward_codecs.lucene90 that return HnswGraph.NodesIteratorModifier and TypeMethodDescriptionLucene90HnswVectorsReader.OffHeapHnswGraph.getNodesOnLevel
(int level) Lucene90OnHeapHnswGraph.getNodesOnLevel
(int level) -
Uses of HnswGraph.NodesIterator in org.apache.lucene.backward_codecs.lucene91
Methods in org.apache.lucene.backward_codecs.lucene91 that return HnswGraph.NodesIteratorModifier and TypeMethodDescriptionLucene91HnswVectorsReader.OffHeapHnswGraph.getNodesOnLevel
(int level) Lucene91OnHeapHnswGraph.getNodesOnLevel
(int level) -
Uses of HnswGraph.NodesIterator in org.apache.lucene.backward_codecs.lucene92
Methods in org.apache.lucene.backward_codecs.lucene92 that return HnswGraph.NodesIteratorModifier and TypeMethodDescriptionLucene92HnswVectorsReader.OffHeapHnswGraph.getNodesOnLevel
(int level) -
Uses of HnswGraph.NodesIterator in org.apache.lucene.backward_codecs.lucene94
Methods in org.apache.lucene.backward_codecs.lucene94 that return HnswGraph.NodesIteratorModifier and TypeMethodDescriptionLucene94HnswVectorsReader.OffHeapHnswGraph.getNodesOnLevel
(int level) -
Uses of HnswGraph.NodesIterator in org.apache.lucene.backward_codecs.lucene95
Methods in org.apache.lucene.backward_codecs.lucene95 that return HnswGraph.NodesIteratorModifier and TypeMethodDescriptionLucene95HnswVectorsReader.OffHeapHnswGraph.getNodesOnLevel
(int level) -
Uses of HnswGraph.NodesIterator in org.apache.lucene.codecs.lucene99
Methods in org.apache.lucene.codecs.lucene99 that return HnswGraph.NodesIteratorModifier and TypeMethodDescriptionLucene99HnswVectorsReader.OffHeapHnswGraph.getNodesOnLevel
(int level) -
Uses of HnswGraph.NodesIterator in org.apache.lucene.util.hnsw
Subclasses of HnswGraph.NodesIterator in org.apache.lucene.util.hnswModifier and TypeClassDescriptionstatic class
NodesIterator that accepts nodes as an integer array.static class
Nodes iterator based on set representation of nodes.Fields in org.apache.lucene.util.hnsw declared as HnswGraph.NodesIteratorModifier and TypeFieldDescription(package private) static HnswGraph.NodesIterator
HnswGraph.ArrayNodesIterator.EMPTY
Methods in org.apache.lucene.util.hnsw that return HnswGraph.NodesIteratorModifier and TypeMethodDescriptionabstract HnswGraph.NodesIterator
HnswGraph.getNodesOnLevel
(int level) Get all nodes on a given level as node 0th ordinalsOnHeapHnswGraph.getNodesOnLevel
(int level) WARN: calling this method will essentially iterate through all nodes at level 0 (even if you're not getting node at level 0), we have built some caching mechanism such that if graph is not changed only the first non-zero level call will pay the cost.Methods in org.apache.lucene.util.hnsw with parameters of type HnswGraph.NodesIteratorModifier and TypeMethodDescriptionstatic int[]
HnswGraph.NodesIterator.getSortedNodes
(HnswGraph.NodesIterator nodesOnLevel)