lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cpoersc...@apache.org
Subject lucene-solr git commit: SOLR-8597: add default, no-op QParserPlugin.init(NamedList) method
Date Thu, 28 Jan 2016 17:40:07 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/master 62c9b6a17 -> 9754da625


SOLR-8597: add default, no-op QParserPlugin.init(NamedList) method


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/9754da62
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/9754da62
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/9754da62

Branch: refs/heads/master
Commit: 9754da625c85b97e21a2bed2dc26246f7a4c1e70
Parents: 62c9b6a
Author: Christine Poerschke <cpoerschke@apache.org>
Authored: Thu Jan 28 17:39:52 2016 +0000
Committer: Christine Poerschke <cpoerschke@apache.org>
Committed: Thu Jan 28 17:39:52 2016 +0000

----------------------------------------------------------------------
 .../src/java/org/apache/solr/search/BoostQParserPlugin.java     | 4 ----
 .../java/org/apache/solr/search/CollapsingQParserPlugin.java    | 4 ----
 .../java/org/apache/solr/search/ComplexPhraseQParserPlugin.java | 1 +
 .../src/java/org/apache/solr/search/DisMaxQParserPlugin.java    | 4 ----
 .../src/java/org/apache/solr/search/ExportQParserPlugin.java    | 3 ---
 .../org/apache/solr/search/ExtendedDismaxQParserPlugin.java     | 4 ----
 .../src/java/org/apache/solr/search/FieldQParserPlugin.java     | 4 ----
 .../src/java/org/apache/solr/search/FunctionQParserPlugin.java  | 4 ----
 .../java/org/apache/solr/search/FunctionRangeQParserPlugin.java | 4 ----
 .../core/src/java/org/apache/solr/search/HashQParserPlugin.java | 4 ----
 .../core/src/java/org/apache/solr/search/JoinQParserPlugin.java | 4 ----
 .../src/java/org/apache/solr/search/LuceneQParserPlugin.java    | 4 ----
 .../src/java/org/apache/solr/search/NestedQParserPlugin.java    | 4 ----
 .../src/java/org/apache/solr/search/OldLuceneQParserPlugin.java | 4 ----
 .../src/java/org/apache/solr/search/PrefixQParserPlugin.java    | 4 ----
 solr/core/src/java/org/apache/solr/search/QParserPlugin.java    | 4 ++++
 solr/core/src/java/org/apache/solr/search/RawQParserPlugin.java | 4 ----
 .../src/java/org/apache/solr/search/ReRankQParserPlugin.java    | 3 ---
 .../src/java/org/apache/solr/search/SimpleQParserPlugin.java    | 5 -----
 .../java/org/apache/solr/search/SpatialBoxQParserPlugin.java    | 5 -----
 .../java/org/apache/solr/search/SpatialFilterQParserPlugin.java | 5 -----
 .../src/java/org/apache/solr/search/SurroundQParserPlugin.java  | 4 ----
 .../src/java/org/apache/solr/search/SwitchQParserPlugin.java    | 4 ----
 .../core/src/java/org/apache/solr/search/TermQParserPlugin.java | 4 ----
 .../src/java/org/apache/solr/search/TermsQParserPlugin.java     | 4 ----
 solr/core/src/java/org/apache/solr/search/XmlQParserPlugin.java | 4 ----
 .../apache/solr/search/join/BlockJoinParentQParserPlugin.java   | 4 ----
 .../java/org/apache/solr/search/join/GraphQParserPlugin.java    | 4 ----
 .../org/apache/solr/search/join/ScoreJoinQParserPlugin.java     | 4 ----
 .../src/java/org/apache/solr/search/mlt/MLTQParserPlugin.java   | 5 -----
 solr/core/src/test/org/apache/solr/search/FooQParserPlugin.java | 4 ----
 .../test/org/apache/solr/search/TestAnalyticsQParserPlugin.java | 4 ----
 .../src/test/org/apache/solr/search/TestRankQueryPlugin.java    | 4 ----
 33 files changed, 5 insertions(+), 126 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9754da62/solr/core/src/java/org/apache/solr/search/BoostQParserPlugin.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/search/BoostQParserPlugin.java b/solr/core/src/java/org/apache/solr/search/BoostQParserPlugin.java
index d73b025..5f7add8 100644
--- a/solr/core/src/java/org/apache/solr/search/BoostQParserPlugin.java
+++ b/solr/core/src/java/org/apache/solr/search/BoostQParserPlugin.java
@@ -41,10 +41,6 @@ public class BoostQParserPlugin extends QParserPlugin {
   public static String BOOSTFUNC = "b";
 
   @Override
-  public void init(NamedList args) {
-  }
-
-  @Override
   public QParser createParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest
req) {
     return new QParser(qstr, localParams, params, req) {
       QParser baseParser;

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9754da62/solr/core/src/java/org/apache/solr/search/CollapsingQParserPlugin.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/search/CollapsingQParserPlugin.java b/solr/core/src/java/org/apache/solr/search/CollapsingQParserPlugin.java
index a74e3f2..cc7e6da 100644
--- a/solr/core/src/java/org/apache/solr/search/CollapsingQParserPlugin.java
+++ b/solr/core/src/java/org/apache/solr/search/CollapsingQParserPlugin.java
@@ -122,10 +122,6 @@ public class CollapsingQParserPlugin extends QParserPlugin {
   public static final String HINT_MULTI_DOCVALUES = "multi_docvalues";
 
 
-  public void init(NamedList namedList) {
-
-  }
-
   public QParser createParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest
request) {
     return new CollapsingQParser(qstr, localParams, params, request);
   }

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9754da62/solr/core/src/java/org/apache/solr/search/ComplexPhraseQParserPlugin.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/search/ComplexPhraseQParserPlugin.java b/solr/core/src/java/org/apache/solr/search/ComplexPhraseQParserPlugin.java
index 1452eee..51d819e 100644
--- a/solr/core/src/java/org/apache/solr/search/ComplexPhraseQParserPlugin.java
+++ b/solr/core/src/java/org/apache/solr/search/ComplexPhraseQParserPlugin.java
@@ -40,6 +40,7 @@ public class ComplexPhraseQParserPlugin extends QParserPlugin {
 
   @Override
   public void init(NamedList args) {
+    super.init(args);
     if (args != null) {
       Object val = args.get("inOrder");
       if (val != null) {

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9754da62/solr/core/src/java/org/apache/solr/search/DisMaxQParserPlugin.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/search/DisMaxQParserPlugin.java b/solr/core/src/java/org/apache/solr/search/DisMaxQParserPlugin.java
index d2efbcc..f8bfecf 100644
--- a/solr/core/src/java/org/apache/solr/search/DisMaxQParserPlugin.java
+++ b/solr/core/src/java/org/apache/solr/search/DisMaxQParserPlugin.java
@@ -113,10 +113,6 @@ public class DisMaxQParserPlugin extends QParserPlugin {
   public static final String NAME = "dismax";
 
   @Override
-  public void init(NamedList args) {
-  }
-
-  @Override
   public QParser createParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest
req) {
     return new DisMaxQParser(qstr, localParams, params, req);
   }

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9754da62/solr/core/src/java/org/apache/solr/search/ExportQParserPlugin.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/search/ExportQParserPlugin.java b/solr/core/src/java/org/apache/solr/search/ExportQParserPlugin.java
index f98e479..4ed3e3b 100644
--- a/solr/core/src/java/org/apache/solr/search/ExportQParserPlugin.java
+++ b/solr/core/src/java/org/apache/solr/search/ExportQParserPlugin.java
@@ -34,9 +34,6 @@ public class ExportQParserPlugin extends QParserPlugin {
 
   public static final String NAME = "xport";
 
-  public void init(NamedList namedList) {
-  }
-  
   public QParser createParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest
request) {
     return new ExportQParser(qstr, localParams, params, request);
   }

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9754da62/solr/core/src/java/org/apache/solr/search/ExtendedDismaxQParserPlugin.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/search/ExtendedDismaxQParserPlugin.java b/solr/core/src/java/org/apache/solr/search/ExtendedDismaxQParserPlugin.java
index d733713..41121bc 100644
--- a/solr/core/src/java/org/apache/solr/search/ExtendedDismaxQParserPlugin.java
+++ b/solr/core/src/java/org/apache/solr/search/ExtendedDismaxQParserPlugin.java
@@ -29,10 +29,6 @@ public class ExtendedDismaxQParserPlugin extends QParserPlugin {
   public static final String NAME = "edismax";
 
   @Override
-  public void init(NamedList args) {
-  }
-
-  @Override
   public QParser createParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest
req) {
     return new ExtendedDismaxQParser(qstr, localParams, params, req);
   }

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9754da62/solr/core/src/java/org/apache/solr/search/FieldQParserPlugin.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/search/FieldQParserPlugin.java b/solr/core/src/java/org/apache/solr/search/FieldQParserPlugin.java
index 4a51993..151647d 100644
--- a/solr/core/src/java/org/apache/solr/search/FieldQParserPlugin.java
+++ b/solr/core/src/java/org/apache/solr/search/FieldQParserPlugin.java
@@ -35,10 +35,6 @@ public class FieldQParserPlugin extends QParserPlugin {
   public static final String NAME = "field";
 
   @Override
-  public void init(NamedList args) {
-  }
-
-  @Override
   public QParser createParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest
req) {
     return new QParser(qstr, localParams, params, req) {
       @Override

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9754da62/solr/core/src/java/org/apache/solr/search/FunctionQParserPlugin.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/search/FunctionQParserPlugin.java b/solr/core/src/java/org/apache/solr/search/FunctionQParserPlugin.java
index 00eba69..561c532 100644
--- a/solr/core/src/java/org/apache/solr/search/FunctionQParserPlugin.java
+++ b/solr/core/src/java/org/apache/solr/search/FunctionQParserPlugin.java
@@ -29,10 +29,6 @@ public class FunctionQParserPlugin extends QParserPlugin {
   public static final String NAME = "func";
 
   @Override
-  public void init(NamedList args) {
-  }
-
-  @Override
   public QParser createParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest
req) {
     return new FunctionQParser(qstr, localParams, params, req);
   }

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9754da62/solr/core/src/java/org/apache/solr/search/FunctionRangeQParserPlugin.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/search/FunctionRangeQParserPlugin.java b/solr/core/src/java/org/apache/solr/search/FunctionRangeQParserPlugin.java
index 0c3f8c8..8db8bbc 100644
--- a/solr/core/src/java/org/apache/solr/search/FunctionRangeQParserPlugin.java
+++ b/solr/core/src/java/org/apache/solr/search/FunctionRangeQParserPlugin.java
@@ -39,10 +39,6 @@ public class FunctionRangeQParserPlugin extends QParserPlugin {
   public static final String NAME = "frange";
 
   @Override
-  public void init(NamedList args) {
-  }
-
-  @Override
   public QParser createParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest
req) {
     return new QParser(qstr, localParams, params, req) {
       ValueSource vs;

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9754da62/solr/core/src/java/org/apache/solr/search/HashQParserPlugin.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/search/HashQParserPlugin.java b/solr/core/src/java/org/apache/solr/search/HashQParserPlugin.java
index 3b67a96..4f5c3a5 100644
--- a/solr/core/src/java/org/apache/solr/search/HashQParserPlugin.java
+++ b/solr/core/src/java/org/apache/solr/search/HashQParserPlugin.java
@@ -56,10 +56,6 @@ public class HashQParserPlugin extends QParserPlugin {
   public static final String NAME = "hash";
 
 
-  public void init(NamedList params) {
-
-  }
-
   public QParser createParser(String query, SolrParams localParams, SolrParams params, SolrQueryRequest
request) {
     return new HashQParser(query, localParams, params, request);
   }

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9754da62/solr/core/src/java/org/apache/solr/search/JoinQParserPlugin.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/search/JoinQParserPlugin.java b/solr/core/src/java/org/apache/solr/search/JoinQParserPlugin.java
index bdcfd6f..af33330 100644
--- a/solr/core/src/java/org/apache/solr/search/JoinQParserPlugin.java
+++ b/solr/core/src/java/org/apache/solr/search/JoinQParserPlugin.java
@@ -61,10 +61,6 @@ public class JoinQParserPlugin extends QParserPlugin {
   public static final String NAME = "join";
 
   @Override
-  public void init(NamedList args) {
-  }
-
-  @Override
   public QParser createParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest
req) {
     return new QParser(qstr, localParams, params, req) {
       

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9754da62/solr/core/src/java/org/apache/solr/search/LuceneQParserPlugin.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/search/LuceneQParserPlugin.java b/solr/core/src/java/org/apache/solr/search/LuceneQParserPlugin.java
index f2b600c..e92ce31 100644
--- a/solr/core/src/java/org/apache/solr/search/LuceneQParserPlugin.java
+++ b/solr/core/src/java/org/apache/solr/search/LuceneQParserPlugin.java
@@ -37,10 +37,6 @@ public class LuceneQParserPlugin extends QParserPlugin {
   public static final String NAME = "lucene";
 
   @Override
-  public void init(NamedList args) {
-  }
-
-  @Override
   public QParser createParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest
req) {
     return new LuceneQParser(qstr, localParams, params, req);
   }

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9754da62/solr/core/src/java/org/apache/solr/search/NestedQParserPlugin.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/search/NestedQParserPlugin.java b/solr/core/src/java/org/apache/solr/search/NestedQParserPlugin.java
index 98b7e9c..9b0dc5a 100644
--- a/solr/core/src/java/org/apache/solr/search/NestedQParserPlugin.java
+++ b/solr/core/src/java/org/apache/solr/search/NestedQParserPlugin.java
@@ -35,10 +35,6 @@ public class NestedQParserPlugin extends QParserPlugin {
   public static final String NAME = "query";
 
   @Override
-  public void init(NamedList args) {
-  }
-
-  @Override
   public QParser createParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest
req) {
     return new QParser(qstr, localParams, params, req) {
       QParser baseParser;

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9754da62/solr/core/src/java/org/apache/solr/search/OldLuceneQParserPlugin.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/search/OldLuceneQParserPlugin.java b/solr/core/src/java/org/apache/solr/search/OldLuceneQParserPlugin.java
index 006e36c..a59f287 100644
--- a/solr/core/src/java/org/apache/solr/search/OldLuceneQParserPlugin.java
+++ b/solr/core/src/java/org/apache/solr/search/OldLuceneQParserPlugin.java
@@ -29,10 +29,6 @@ public class OldLuceneQParserPlugin extends QParserPlugin {
   public static final String NAME = "lucenePlusSort";
 
   @Override
-  public void init(NamedList args) {
-  }
-
-  @Override
   public QParser createParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest
req) {
     return new OldLuceneQParser(qstr, localParams, params, req);
   }

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9754da62/solr/core/src/java/org/apache/solr/search/PrefixQParserPlugin.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/search/PrefixQParserPlugin.java b/solr/core/src/java/org/apache/solr/search/PrefixQParserPlugin.java
index e66d4dc..8aa7446 100644
--- a/solr/core/src/java/org/apache/solr/search/PrefixQParserPlugin.java
+++ b/solr/core/src/java/org/apache/solr/search/PrefixQParserPlugin.java
@@ -35,10 +35,6 @@ public class PrefixQParserPlugin extends QParserPlugin {
   public static final String NAME = "prefix";
 
   @Override
-  public void init(NamedList args) {
-  }
-
-  @Override
   public QParser createParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest
req) {
     return new QParser(qstr, localParams, params, req) {
       @Override

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9754da62/solr/core/src/java/org/apache/solr/search/QParserPlugin.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/search/QParserPlugin.java b/solr/core/src/java/org/apache/solr/search/QParserPlugin.java
index 3a38c4c..cf556ff 100644
--- a/solr/core/src/java/org/apache/solr/search/QParserPlugin.java
+++ b/solr/core/src/java/org/apache/solr/search/QParserPlugin.java
@@ -83,6 +83,10 @@ public abstract class QParserPlugin implements NamedListInitializedPlugin,
SolrI
   public abstract QParser createParser(String qstr, SolrParams localParams, SolrParams params,
SolrQueryRequest req);
 
   @Override
+  public void init( NamedList args ) {
+  }
+
+  @Override
   public String getName() {
     // TODO: ideally use the NAME property that each qparser plugin has
 

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9754da62/solr/core/src/java/org/apache/solr/search/RawQParserPlugin.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/search/RawQParserPlugin.java b/solr/core/src/java/org/apache/solr/search/RawQParserPlugin.java
index 77fe523..5d93fb9 100644
--- a/solr/core/src/java/org/apache/solr/search/RawQParserPlugin.java
+++ b/solr/core/src/java/org/apache/solr/search/RawQParserPlugin.java
@@ -37,10 +37,6 @@ public class RawQParserPlugin extends QParserPlugin {
   public static final String NAME = "raw";
 
   @Override
-  public void init(NamedList args) {
-  }
-
-  @Override
   public QParser createParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest
req) {
     return new QParser(qstr, localParams, params, req) {
       @Override

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9754da62/solr/core/src/java/org/apache/solr/search/ReRankQParserPlugin.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/search/ReRankQParserPlugin.java b/solr/core/src/java/org/apache/solr/search/ReRankQParserPlugin.java
index 046d28b..2b23d53 100644
--- a/solr/core/src/java/org/apache/solr/search/ReRankQParserPlugin.java
+++ b/solr/core/src/java/org/apache/solr/search/ReRankQParserPlugin.java
@@ -64,9 +64,6 @@ public class ReRankQParserPlugin extends QParserPlugin {
   public static final String NAME = "rerank";
   private static Query defaultQuery = new MatchAllDocsQuery();
 
-  public void init(NamedList args) {
-  }
-
   public QParser createParser(String query, SolrParams localParams, SolrParams params, SolrQueryRequest
req) {
     return new ReRankQParser(query, localParams, params, req);
   }

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9754da62/solr/core/src/java/org/apache/solr/search/SimpleQParserPlugin.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/search/SimpleQParserPlugin.java b/solr/core/src/java/org/apache/solr/search/SimpleQParserPlugin.java
index 2797189..2cab3c9 100644
--- a/solr/core/src/java/org/apache/solr/search/SimpleQParserPlugin.java
+++ b/solr/core/src/java/org/apache/solr/search/SimpleQParserPlugin.java
@@ -91,11 +91,6 @@ public class SimpleQParserPlugin extends QParserPlugin {
     OPERATORS.put(SimpleParams.NEAR_OPERATOR,        SimpleQueryParser.NEAR_OPERATOR);
   }
 
-  /** No initialization is necessary so this method is empty. */
-  @Override
-  public void init(NamedList args) {
-  }
-
   /** Returns a QParser that will create a query by using Lucene's SimpleQueryParser. */
   @Override
   public QParser createParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest
req) {

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9754da62/solr/core/src/java/org/apache/solr/search/SpatialBoxQParserPlugin.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/search/SpatialBoxQParserPlugin.java b/solr/core/src/java/org/apache/solr/search/SpatialBoxQParserPlugin.java
index 00afb1a..0f2bccb 100644
--- a/solr/core/src/java/org/apache/solr/search/SpatialBoxQParserPlugin.java
+++ b/solr/core/src/java/org/apache/solr/search/SpatialBoxQParserPlugin.java
@@ -31,9 +31,4 @@ public class SpatialBoxQParserPlugin extends SpatialFilterQParserPlugin
{
     return new SpatialFilterQParser(qstr, localParams, params, req, true);
   }
 
-  @Override
-  public void init(NamedList args) {
-
-  }
-
 }

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9754da62/solr/core/src/java/org/apache/solr/search/SpatialFilterQParserPlugin.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/search/SpatialFilterQParserPlugin.java b/solr/core/src/java/org/apache/solr/search/SpatialFilterQParserPlugin.java
index c8010a4..7269bb5 100644
--- a/solr/core/src/java/org/apache/solr/search/SpatialFilterQParserPlugin.java
+++ b/solr/core/src/java/org/apache/solr/search/SpatialFilterQParserPlugin.java
@@ -56,10 +56,5 @@ public class SpatialFilterQParserPlugin extends QParserPlugin {
     return new SpatialFilterQParser(qstr, localParams, params, req, false);
   }
 
-  @Override
-  public void init(NamedList args) {
-
-  }
-
 }
 

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9754da62/solr/core/src/java/org/apache/solr/search/SurroundQParserPlugin.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/search/SurroundQParserPlugin.java b/solr/core/src/java/org/apache/solr/search/SurroundQParserPlugin.java
index c336a37..c87c3f0 100644
--- a/solr/core/src/java/org/apache/solr/search/SurroundQParserPlugin.java
+++ b/solr/core/src/java/org/apache/solr/search/SurroundQParserPlugin.java
@@ -49,10 +49,6 @@ public class SurroundQParserPlugin extends QParserPlugin {
   public static final String NAME = "surround";
 
   @Override
-  public void init(NamedList args) {
-  }
-
-  @Override
   public QParser createParser(String qstr, SolrParams localParams,
       SolrParams params, SolrQueryRequest req) {
     return new SurroundQParser(qstr, localParams, params, req);

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9754da62/solr/core/src/java/org/apache/solr/search/SwitchQParserPlugin.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/search/SwitchQParserPlugin.java b/solr/core/src/java/org/apache/solr/search/SwitchQParserPlugin.java
index 8f39448..d3947a9 100644
--- a/solr/core/src/java/org/apache/solr/search/SwitchQParserPlugin.java
+++ b/solr/core/src/java/org/apache/solr/search/SwitchQParserPlugin.java
@@ -152,10 +152,6 @@ public class SwitchQParserPlugin extends QParserPlugin {
   public static String SWITCH_DEFAULT = "default";
 
   @Override
-  public void init(NamedList args) {
-  }
-
-  @Override
   public QParser createParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest
req) {
     return new QParser(qstr, localParams, params, req) {
       QParser subParser;

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9754da62/solr/core/src/java/org/apache/solr/search/TermQParserPlugin.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/search/TermQParserPlugin.java b/solr/core/src/java/org/apache/solr/search/TermQParserPlugin.java
index 27dd8c3..2520bf5 100644
--- a/solr/core/src/java/org/apache/solr/search/TermQParserPlugin.java
+++ b/solr/core/src/java/org/apache/solr/search/TermQParserPlugin.java
@@ -44,10 +44,6 @@ public class TermQParserPlugin extends QParserPlugin {
   public static final String NAME = "term";
 
   @Override
-  public void init(NamedList args) {
-  }
-
-  @Override
   public QParser createParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest
req) {
     return new QParser(qstr, localParams, params, req) {
       @Override

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9754da62/solr/core/src/java/org/apache/solr/search/TermsQParserPlugin.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/search/TermsQParserPlugin.java b/solr/core/src/java/org/apache/solr/search/TermsQParserPlugin.java
index 434b1e3..0233bf0 100644
--- a/solr/core/src/java/org/apache/solr/search/TermsQParserPlugin.java
+++ b/solr/core/src/java/org/apache/solr/search/TermsQParserPlugin.java
@@ -58,10 +58,6 @@ public class TermsQParserPlugin extends QParserPlugin {
   /** Choose the internal algorithm */
   private static final String METHOD = "method";
 
-  @Override
-  public void init(NamedList args) {
-  }
-
   private static enum Method {
     termsFilter {
       @Override

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9754da62/solr/core/src/java/org/apache/solr/search/XmlQParserPlugin.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/search/XmlQParserPlugin.java b/solr/core/src/java/org/apache/solr/search/XmlQParserPlugin.java
index bb33e0b..71f1fb8 100755
--- a/solr/core/src/java/org/apache/solr/search/XmlQParserPlugin.java
+++ b/solr/core/src/java/org/apache/solr/search/XmlQParserPlugin.java
@@ -58,10 +58,6 @@ public class XmlQParserPlugin extends QParserPlugin {
 
   }
 
-  @Override
-  public void init(NamedList args) {
-  }
-
   public QParser createParser(String qstr, SolrParams localParams,
       SolrParams params, SolrQueryRequest req) {
     return new XmlQParser(qstr, localParams, params, req);

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9754da62/solr/core/src/java/org/apache/solr/search/join/BlockJoinParentQParserPlugin.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/search/join/BlockJoinParentQParserPlugin.java
b/solr/core/src/java/org/apache/solr/search/join/BlockJoinParentQParserPlugin.java
index 22d9fff..7061191 100644
--- a/solr/core/src/java/org/apache/solr/search/join/BlockJoinParentQParserPlugin.java
+++ b/solr/core/src/java/org/apache/solr/search/join/BlockJoinParentQParserPlugin.java
@@ -41,9 +41,5 @@ public class BlockJoinParentQParserPlugin extends QParserPlugin {
   protected QParser createBJQParser(String qstr, SolrParams localParams, SolrParams params,
SolrQueryRequest req) {
     return new BlockJoinParentQParser(qstr, localParams, params, req);
   }
-
-  @Override
-  public void init(NamedList args) {
-  }
 }
 

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9754da62/solr/core/src/java/org/apache/solr/search/join/GraphQParserPlugin.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/search/join/GraphQParserPlugin.java b/solr/core/src/java/org/apache/solr/search/join/GraphQParserPlugin.java
index 6bda867..c60e54a 100644
--- a/solr/core/src/java/org/apache/solr/search/join/GraphQParserPlugin.java
+++ b/solr/core/src/java/org/apache/solr/search/join/GraphQParserPlugin.java
@@ -32,10 +32,6 @@ public class GraphQParserPlugin extends QParserPlugin {
   public static final String NAME = "graph";
   
   @Override
-  public void init(NamedList args) {
-  }
-  
-  @Override
   public QParser createParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest
req) {
     // return the graph query parser for this request.
     return new GraphQueryParser(qstr, localParams, params, req);

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9754da62/solr/core/src/java/org/apache/solr/search/join/ScoreJoinQParserPlugin.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/search/join/ScoreJoinQParserPlugin.java b/solr/core/src/java/org/apache/solr/search/join/ScoreJoinQParserPlugin.java
index ebd6155..e27e227 100644
--- a/solr/core/src/java/org/apache/solr/search/join/ScoreJoinQParserPlugin.java
+++ b/solr/core/src/java/org/apache/solr/search/join/ScoreJoinQParserPlugin.java
@@ -206,10 +206,6 @@ public class ScoreJoinQParserPlugin extends QParserPlugin {
     }
   }
 
-  @Override
-  public void init(NamedList args) {
-  }
-
 
   @Override
   public QParser createParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest
req) {

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9754da62/solr/core/src/java/org/apache/solr/search/mlt/MLTQParserPlugin.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/search/mlt/MLTQParserPlugin.java b/solr/core/src/java/org/apache/solr/search/mlt/MLTQParserPlugin.java
index 1a2f369..c18e546 100644
--- a/solr/core/src/java/org/apache/solr/search/mlt/MLTQParserPlugin.java
+++ b/solr/core/src/java/org/apache/solr/search/mlt/MLTQParserPlugin.java
@@ -29,11 +29,6 @@ public class MLTQParserPlugin extends QParserPlugin {
   public static final String NAME = "mlt";
   
   @Override
-  public void init(NamedList args) {
-    
-  }
-  
-  @Override
   public QParser createParser(String qstr, SolrParams localParams,
       SolrParams params, SolrQueryRequest req) {
     if (req.getCore().getCoreDescriptor().getCloudDescriptor() != null) {

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9754da62/solr/core/src/test/org/apache/solr/search/FooQParserPlugin.java
----------------------------------------------------------------------
diff --git a/solr/core/src/test/org/apache/solr/search/FooQParserPlugin.java b/solr/core/src/test/org/apache/solr/search/FooQParserPlugin.java
index 9d406ad..2df6705 100644
--- a/solr/core/src/test/org/apache/solr/search/FooQParserPlugin.java
+++ b/solr/core/src/test/org/apache/solr/search/FooQParserPlugin.java
@@ -30,10 +30,6 @@ public class FooQParserPlugin extends QParserPlugin {
   public QParser createParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest
req) {
     return new FooQParser(qstr, localParams, params, req);
   }
-
-  @Override
-  public void init(NamedList args) {
-  }
 }
 
 class FooQParser extends QParser {

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9754da62/solr/core/src/test/org/apache/solr/search/TestAnalyticsQParserPlugin.java
----------------------------------------------------------------------
diff --git a/solr/core/src/test/org/apache/solr/search/TestAnalyticsQParserPlugin.java b/solr/core/src/test/org/apache/solr/search/TestAnalyticsQParserPlugin.java
index c2ea050..1a86f48 100644
--- a/solr/core/src/test/org/apache/solr/search/TestAnalyticsQParserPlugin.java
+++ b/solr/core/src/test/org/apache/solr/search/TestAnalyticsQParserPlugin.java
@@ -41,10 +41,6 @@ import java.io.IOException;
 public class TestAnalyticsQParserPlugin extends QParserPlugin {
 
 
-  public void init(NamedList params) {
-
-  }
-
   public QParser createParser(String query, SolrParams localParams, SolrParams params, SolrQueryRequest
req) {
     return new TestAnalyticsQueryParser(query, localParams, params, req);
   }

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9754da62/solr/core/src/test/org/apache/solr/search/TestRankQueryPlugin.java
----------------------------------------------------------------------
diff --git a/solr/core/src/test/org/apache/solr/search/TestRankQueryPlugin.java b/solr/core/src/test/org/apache/solr/search/TestRankQueryPlugin.java
index b9ec699..dd42b57 100644
--- a/solr/core/src/test/org/apache/solr/search/TestRankQueryPlugin.java
+++ b/solr/core/src/test/org/apache/solr/search/TestRankQueryPlugin.java
@@ -72,10 +72,6 @@ import org.junit.Ignore;
 public class TestRankQueryPlugin extends QParserPlugin {
 
 
-  public void init(NamedList params) {
-
-  }
-
   public QParser createParser(String query, SolrParams localParams, SolrParams params, SolrQueryRequest
req) {
     return new TestRankQueryParser(query, localParams, params, req);
   }


Mime
View raw message