Open gfhe opened 1 year ago
At line 215 of HnswIndex.java, randomLevel==0 may not meet expectations, which will reault in maxM0 not working.
HnswIndex.java
randomLevel==0
maxM0
for (int level = 0; level <= randomLevel; level++) { int levelM = level == 0 ? maxM0 : maxM; connections[level] = new IntArrayList(levelM); }
@gfhe I think it makes sense. WDYT @jelmerk?
At line 215 of
HnswIndex.java
,randomLevel==0
may not meet expectations, which will reault inmaxM0
not working.