summaryrefslogtreecommitdiff
path: root/core/src/test/java/org/elasticsearch/search/builder
diff options
context:
space:
mode:
authorRyan Ernst <ryan@iernst.net>2016-06-21 22:50:39 -0700
committerRyan Ernst <ryan@iernst.net>2016-06-21 22:50:39 -0700
commite817b5daa3c762e0adba87d1e524d53a99c5362f (patch)
tree6bcbc4e7086bfaf58951fa657304c773496e3c00 /core/src/test/java/org/elasticsearch/search/builder
parente9230dd889c70cdd6650a116ac648f29117638c9 (diff)
Plugins: Remove guice from Mapper plugins
This changes adds a MapperPlugin interface which allows pull style retrieval of mappers and metadata mappers added by plugins. For now, I have kept the MapperRegistry, but this should be removed in the future as it is just a silly container for 2 maps which could themselves be passed around.
Diffstat (limited to 'core/src/test/java/org/elasticsearch/search/builder')
-rw-r--r--core/src/test/java/org/elasticsearch/search/builder/SearchSourceBuilderTests.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/test/java/org/elasticsearch/search/builder/SearchSourceBuilderTests.java b/core/src/test/java/org/elasticsearch/search/builder/SearchSourceBuilderTests.java
index 5822372bfa..617e7e9eb4 100644
--- a/core/src/test/java/org/elasticsearch/search/builder/SearchSourceBuilderTests.java
+++ b/core/src/test/java/org/elasticsearch/search/builder/SearchSourceBuilderTests.java
@@ -135,7 +135,7 @@ public class SearchSourceBuilderTests extends ESTestCase {
b.bind(Environment.class).toInstance(new Environment(settings));
b.bind(ThreadPool.class).toInstance(threadPool);
}, settingsModule,
- scriptModule, new IndicesModule(namedWriteableRegistry) {
+ scriptModule, new IndicesModule(namedWriteableRegistry, Collections.emptyList()) {
@Override
protected void configure() {
bindMapperExtension();