Skip to content

Commit def8125

Browse files
committed
Remove ParseFieldMatcher usages from BaseRestHandler
1 parent 9e680e8 commit def8125

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

core/src/main/java/org/elasticsearch/rest/BaseRestHandler.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
import org.apache.lucene.search.spell.LevensteinDistance;
2323
import org.apache.lucene.util.CollectionUtil;
2424
import org.elasticsearch.client.node.NodeClient;
25-
import org.elasticsearch.common.ParseFieldMatcher;
2625
import org.elasticsearch.common.collect.Tuple;
2726
import org.elasticsearch.common.component.AbstractComponent;
2827
import org.elasticsearch.common.settings.Setting;
@@ -53,11 +52,9 @@ public abstract class BaseRestHandler extends AbstractComponent implements RestH
5352

5453
public static final Setting<Boolean> MULTI_ALLOW_EXPLICIT_INDEX =
5554
Setting.boolSetting("rest.action.multi.allow_explicit_index", true, Property.NodeScope);
56-
protected final ParseFieldMatcher parseFieldMatcher;
5755

5856
protected BaseRestHandler(Settings settings) {
5957
super(settings);
60-
this.parseFieldMatcher = new ParseFieldMatcher(settings);
6158
}
6259

6360
@Override

0 commit comments

Comments
 (0)