Add TODO for more checks

This commit is contained in:
Ben Chaplin 2024-11-13 11:43:09 -05:00
parent 0bbfd55acd
commit 37ed6d74ea
1 changed files with 1 additions and 0 deletions

View File

@ -2872,6 +2872,7 @@ public final class CheckIndex implements Closeable {
throw new CheckIndexException(
"There are repeated neighbors of node " + node + " with value " + nbr);
}
// TODO: add checks: nodes are within range and neighbors are on the same level
lastNeighbor = nbr;
}
status.hnswGraphsStatusByField.get(fieldName).totalNumNodes++;