Skip to content

Commit

Permalink
Merge pull request #206 from expani/issue-11415-6
Browse files Browse the repository at this point in the history
Fix for failing REST Yaml Integ ( 90_search_after/numeric skipping logic with competitive missing value )
  • Loading branch information
reta authored Dec 27, 2024
2 parents 2ce5cfb + 598b9af commit eb4cb71
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
import org.apache.lucene.search.Pruning;
import org.apache.lucene.search.comparators.NumericComparator;
import org.apache.lucene.util.BitUtil;
import org.apache.lucene.util.NumericUtils;

import java.io.IOException;

Expand Down Expand Up @@ -103,12 +102,12 @@ public void copy(int slot, int doc) throws IOException {

@Override
protected long bottomAsComparableLong() {
return NumericUtils.floatToSortableInt(bottom);
return HalfFloatPoint.halfFloatToSortableShort(bottom);
}

@Override
protected long topAsComparableLong() {
return NumericUtils.floatToSortableInt(topValue);
return HalfFloatPoint.halfFloatToSortableShort(topValue);
}
}

Expand Down

0 comments on commit eb4cb71

Please sign in to comment.