Skip to content

Commit 7c04ef6

Browse files
committed
use byte value
1 parent 09006f1 commit 7c04ef6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/elasticsearch/src/main/java/org/elasticsearch/index/field/data/bytes/ByteFieldDataComparator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public ByteFieldDataComparator(int numHits, String fieldName, FieldDataCache fie
4646
}
4747

4848
@Override public int compareBottom(int doc) {
49-
return bottom - currentFieldData.shortValue(doc);
49+
return bottom - currentFieldData.byteValue(doc);
5050
}
5151

5252
@Override public void copy(int slot, int doc) {

0 commit comments

Comments
 (0)