Skip to content

Commit

Permalink
Index sort print
Browse files Browse the repository at this point in the history
  • Loading branch information
gashutos committed Sep 14, 2023
1 parent ee0da4b commit 1d79a8d
Showing 1 changed file with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,15 +163,7 @@ public final SortField sortField(Object missingValue, MultiValueMode sortMode, N

@Override
public final SortField indexSortField(Object missingValue, MultiValueMode sortMode, Nested nested, boolean reverse) {
NumericType type = getNumericType();
switch(type) {
case BYTE:
case BOOLEAN:
case SHORT:
case INT:
type = NumericType.LONG;
}
return sortField(type, missingValue, sortMode, nested, reverse, true);
return sortField(getNumericType(), missingValue, sortMode, nested, reverse, true);
}

/**
Expand Down

0 comments on commit 1d79a8d

Please sign in to comment.