remove index from QueryParseContext Constructor

This commit is contained in:
Colin Goodheart-Smithe 2015-09-23 15:07:33 +01:00
parent 6c335f4a47
commit 083f28a704
1 changed files with 0 additions and 5 deletions

View File

@ -25,7 +25,6 @@ import org.elasticsearch.common.ParseField;
import org.elasticsearch.common.ParseFieldMatcher;
import org.elasticsearch.common.ParsingException;
import org.elasticsearch.common.xcontent.XContentParser;
import org.elasticsearch.index.Index;
import org.elasticsearch.indices.query.IndicesQueriesRegistry;
import java.io.IOException;
@ -44,10 +43,6 @@ public class QueryParseContext {
private IndicesQueriesRegistry indicesQueriesRegistry;
public QueryParseContext(IndicesQueriesRegistry registry) {
this(null, registry); // NOCOMMIT - remove index
}
public QueryParseContext(Index index, IndicesQueriesRegistry registry) {
this.indicesQueriesRegistry = registry;
this.shardContext = null;
}