Remove unused 'reverse' parse field from ScoreSortBuilder
This commit is contained in:
parent
18c5ea8599
commit
c850b960fb
|
@ -39,9 +39,7 @@ import java.util.Objects;
|
|||
public class ScoreSortBuilder extends SortBuilder<ScoreSortBuilder> {
|
||||
|
||||
public static final String NAME = "_score";
|
||||
public static final ParseField REVERSE_FIELD = new ParseField("reverse");
|
||||
public static final ParseField ORDER_FIELD = new ParseField("order");
|
||||
private static final ParseField REVERSE_FORBIDDEN = new ParseField("reverse");
|
||||
private static final SortField SORT_SCORE = new SortField(null, SortField.Type.SCORE);
|
||||
private static final SortField SORT_SCORE_REVERSE = new SortField(null, SortField.Type.SCORE, true);
|
||||
|
||||
|
|
Loading…
Reference in New Issue