Remove unused 'reverse' parse field from ScoreSortBuilder

This commit is contained in:
Christoph Büscher 2016-03-31 11:07:08 +02:00
parent 18c5ea8599
commit c850b960fb
1 changed files with 0 additions and 2 deletions

View File

@ -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);