Uses of Class
org.apache.lucene.util.hnsw.HnswGraph.NodesIterator
-
Packages that use HnswGraph.NodesIterator Package Description org.apache.lucene.backward_codecs.lucene90 Lucene 9.0 file format.org.apache.lucene.backward_codecs.lucene91 Lucene 9.1 file format.org.apache.lucene.backward_codecs.lucene92 Lucene 9.2 file format.org.apache.lucene.backward_codecs.lucene94 Lucene 9.4 file format.org.apache.lucene.backward_codecs.lucene95 Lucene 9.5 file format.org.apache.lucene.codecs.lucene99 Lucene 9.9 file format.org.apache.lucene.util.hnsw 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.NodesIterator Modifier and Type Method Description HnswGraph.NodesIterator
Lucene90HnswVectorsReader.OffHeapHnswGraph. getNodesOnLevel(int level)
HnswGraph.NodesIterator
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.NodesIterator Modifier and Type Method Description HnswGraph.NodesIterator
Lucene91HnswVectorsReader.OffHeapHnswGraph. getNodesOnLevel(int level)
HnswGraph.NodesIterator
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.NodesIterator Modifier and Type Method Description HnswGraph.NodesIterator
Lucene92HnswVectorsReader.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.NodesIterator Modifier and Type Method Description HnswGraph.NodesIterator
Lucene94HnswVectorsReader.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.NodesIterator Modifier and Type Method Description HnswGraph.NodesIterator
Lucene95HnswVectorsReader.OffHeapHnswGraph. getNodesOnLevel(int level)
-
Uses of HnswGraph.NodesIterator in org.apache.lucene.codecs.lucene99
Methods in org.apache.lucene.codecs.lucene99 that return HnswGraph.NodesIterator Modifier and Type Method Description HnswGraph.NodesIterator
Lucene99HnswVectorsReader.OffHeapHnswGraph. getNodesOnLevel(int level)
-
Uses of HnswGraph.NodesIterator in org.apache.lucene.util.hnsw
Subclasses of HnswGraph.NodesIterator in org.apache.lucene.util.hnsw Modifier and Type Class Description static class
HnswGraph.ArrayNodesIterator
NodesIterator that accepts nodes as an integer array.static class
HnswGraph.CollectionNodesIterator
Nodes iterator based on set representation of nodes.Fields in org.apache.lucene.util.hnsw declared as HnswGraph.NodesIterator Modifier and Type Field Description (package private) static HnswGraph.NodesIterator
HnswGraph.ArrayNodesIterator. EMPTY
Methods in org.apache.lucene.util.hnsw that return HnswGraph.NodesIterator Modifier and Type Method Description abstract HnswGraph.NodesIterator
HnswGraph. getNodesOnLevel(int level)
Get all nodes on a given level as node 0th ordinalsHnswGraph.NodesIterator
OnHeapHnswGraph. 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.NodesIterator Modifier and Type Method Description static int[]
HnswGraph.NodesIterator. getSortedNodes(HnswGraph.NodesIterator nodesOnLevel)
-