Skip to content

Conversation

@msokolov
Copy link
Contributor

fixes #15424

adds DenseNodesIterator and HnswGraph.getSortedNodes() now returns a NodesIterator

No longer copies and sorts all the (already sorted!) nodes on level 0


@Override
public void mergeOneField(FieldInfo fieldInfo, MergeState mergeState) throws IOException {
// nocommit
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops! this snuck in from another branch

@benwtrent benwtrent added this to the 10.4.0 milestone Nov 13, 2025
@msokolov msokolov merged commit 08538bb into apache:main Nov 13, 2025
12 checks passed
@msokolov msokolov deleted the fix-nodes-iterator branch November 13, 2025 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Specialize HnswGraph.ArrayNodesIterator for dense case

2 participants