File tree Expand file tree Collapse file tree 2 files changed +0
-2
lines changed
server/src/main/java/org/elasticsearch/index/codec/vectors Expand file tree Collapse file tree 2 files changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,6 @@ private static CentroidIterator getCentroidIteratorNoParent(
148148 );
149149 long offset = centroids .getFilePointer ();
150150 return new CentroidIterator () {
151-
152151 @ Override
153152 public boolean hasNext () {
154153 return neighborQueue .size () > 0 ;
Original file line number Diff line number Diff line change @@ -285,7 +285,6 @@ private void assignSpilled(
285285 int currAssignment = assignments [i ];
286286 float [] currentCentroid = centroids [currAssignment ];
287287 // TODO: cache these?
288- // FIXME: if close to current don't do SOAR assignments
289288 float vectorCentroidDist = VectorUtil .squareDistance (vector , currentCentroid );
290289 if (vectorCentroidDist <= SOAR_MIN_DISTANCE ) {
291290 spilledAssignments [i ] = -1 ; // no SOAR assignment
You can’t perform that action at this time.
0 commit comments