Query refactoring: resolve guice injection issue after last commit
This commit is contained in:
parent
c797445457
commit
8ac439fc1b
|
@ -38,7 +38,7 @@ public class IndicesQueriesRegistry extends AbstractComponent {
|
||||||
private ImmutableMap<String, QueryParser<?>> queryParsers;
|
private ImmutableMap<String, QueryParser<?>> queryParsers;
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
public IndicesQueriesRegistry(Settings settings, Set<QueryParser<?>> injectedQueryParsers, NamedWriteableRegistry namedWriteableRegistry) {
|
public IndicesQueriesRegistry(Settings settings, Set<QueryParser> injectedQueryParsers, NamedWriteableRegistry namedWriteableRegistry) {
|
||||||
super(settings);
|
super(settings);
|
||||||
Map<String, QueryParser<?>> queryParsers = Maps.newHashMap();
|
Map<String, QueryParser<?>> queryParsers = Maps.newHashMap();
|
||||||
for (QueryParser<?> queryParser : injectedQueryParsers) {
|
for (QueryParser<?> queryParser : injectedQueryParsers) {
|
||||||
|
|
Loading…
Reference in New Issue