remove index from QueryParseContext Constructor
This commit is contained in:
parent
6c335f4a47
commit
083f28a704
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue