org.elasticsearch.common.inject.Inject



API Populatity

4 Client projects

Project crate/crate in file ...erator.operations.ImplementationSymbolVisitor.java (2014-01-24)
@@ -28,7 +28,6 @@ import io.crate.operator.aggregation.FunctionExpression;
 import io.crate.planner.plan.PlanNode;
 import io.crate.planner.symbol.*;
 import org.cratedb.sql.CrateException;
-import org.elasticsearch.common.inject.Inject;
 
 import java.util.ArrayList;
 import java.util.LinkedHashSet;
@@ -59,7 +58,6 @@ public class ImplementationSymbolVisitor extends SymbolVisitor<ImplementationSym
     private final Functions functions;
 
 
-    @Inject
     public ImplementationSymbolVisitor(ReferenceResolver referenceResolver, Functions functions) {
         this.referenceResolver = referenceResolver;
         this.functions = functions;
Project crate/crate in file ...c.main.java.io.crate.analyze.AnalysisMetaData.java (2014-11-24)
@@ -24,6 +24,7 @@ package io.crate.analyze;
 import io.crate.metadata.Functions;
 import io.crate.metadata.ReferenceInfos;
 import io.crate.metadata.ReferenceResolver;
+import org.elasticsearch.common.inject.Inject;
 
 public class AnalysisMetaData {
 
@@ -31,6 +32,7 @@ public class AnalysisMetaData {
     private final ReferenceInfos referenceInfos;
     private final ReferenceResolver referenceResolver;
 
+    @Inject
     public AnalysisMetaData(Functions functions,
                             ReferenceInfos referenceInfos,
                             ReferenceResolver referenceResolver) {
Project elasticsearch/elasticsearch in file ....query.xcontent.FuzzyLikeThisFieldQueryParser.java (2010-09-12)
@@ -23,6 +23,7 @@ import org.apache.lucene.analysis.Analyzer;
 import org.apache.lucene.search.FuzzyLikeThisQuery;
 import org.apache.lucene.search.Query;
 import org.elasticsearch.common.Strings;
+import org.elasticsearch.common.inject.Inject;
 import org.elasticsearch.common.settings.Settings;
 import org.elasticsearch.common.xcontent.XContentParser;
 import org.elasticsearch.index.AbstractIndexComponent;
@@ -53,7 +54,7 @@ public class FuzzyLikeThisFieldQueryParser extends AbstractIndexComponent implem
 
     public static final String NAME = "flt_field";
 
-    public FuzzyLikeThisFieldQueryParser(Index index, @IndexSettings Settings indexSettings) {
+    @Inject public FuzzyLikeThisFieldQueryParser(Index index, @IndexSettings Settings indexSettings) {
         super(index, indexSettings);
     }