You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@manifoldcf.apache.org by io...@apache.org on 2014/04/01 15:34:56 UTC

svn commit: r1583664 - in /manifoldcf/integration/solr-3.x/branches/CONNECTORS-914: solr/conf/ src/main/java/org/apache/solr/mcf/

Author: iorixxx
Date: Tue Apr  1 13:34:55 2014
New Revision: 1583664

URL: http://svn.apache.org/r1583664
Log:
cosmetics : tidy up schema.xml solrconfig.xml files, add missing override, remove unused imports

Modified:
    manifoldcf/integration/solr-3.x/branches/CONNECTORS-914/solr/conf/solrconfig-auth-load.xml
    manifoldcf/integration/solr-3.x/branches/CONNECTORS-914/solr/conf/solrconfig-auth-qparser.xml
    manifoldcf/integration/solr-3.x/branches/CONNECTORS-914/solr/conf/solrconfig-auth.xml
    manifoldcf/integration/solr-3.x/branches/CONNECTORS-914/src/main/java/org/apache/solr/mcf/ManifoldCFQParserPlugin.java
    manifoldcf/integration/solr-3.x/branches/CONNECTORS-914/src/main/java/org/apache/solr/mcf/ManifoldCFSearchComponent.java

Modified: manifoldcf/integration/solr-3.x/branches/CONNECTORS-914/solr/conf/solrconfig-auth-load.xml
URL: http://svn.apache.org/viewvc/manifoldcf/integration/solr-3.x/branches/CONNECTORS-914/solr/conf/solrconfig-auth-load.xml?rev=1583664&r1=1583663&r2=1583664&view=diff
==============================================================================
--- manifoldcf/integration/solr-3.x/branches/CONNECTORS-914/solr/conf/solrconfig-auth-load.xml (original)
+++ manifoldcf/integration/solr-3.x/branches/CONNECTORS-914/solr/conf/solrconfig-auth-load.xml Tue Apr  1 13:34:55 2014
@@ -1,5 +1,4 @@
-<?xml version="1.0" ?>
-
+<?xml version="1.0" encoding="UTF-8" ?>
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
@@ -16,12 +15,6 @@
  See the License for the specific language governing permissions and
  limitations under the License.
 -->
-
-<!-- $Id$
-     $Source$
-     $Name$
-  -->
-
 <config>
 
   <luceneMatchVersion>${tests.luceneMatchVersion:LUCENE_CURRENT}</luceneMatchVersion>

Modified: manifoldcf/integration/solr-3.x/branches/CONNECTORS-914/solr/conf/solrconfig-auth-qparser.xml
URL: http://svn.apache.org/viewvc/manifoldcf/integration/solr-3.x/branches/CONNECTORS-914/solr/conf/solrconfig-auth-qparser.xml?rev=1583664&r1=1583663&r2=1583664&view=diff
==============================================================================
--- manifoldcf/integration/solr-3.x/branches/CONNECTORS-914/solr/conf/solrconfig-auth-qparser.xml (original)
+++ manifoldcf/integration/solr-3.x/branches/CONNECTORS-914/solr/conf/solrconfig-auth-qparser.xml Tue Apr  1 13:34:55 2014
@@ -1,5 +1,4 @@
-<?xml version="1.0" ?>
-
+<?xml version="1.0" encoding="UTF-8" ?>
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
@@ -16,12 +15,6 @@
  See the License for the specific language governing permissions and
  limitations under the License.
 -->
-
-<!-- $Id$
-     $Source$
-     $Name$
-  -->
-
 <config>
 
   <luceneMatchVersion>${tests.luceneMatchVersion:LUCENE_CURRENT}</luceneMatchVersion>

Modified: manifoldcf/integration/solr-3.x/branches/CONNECTORS-914/solr/conf/solrconfig-auth.xml
URL: http://svn.apache.org/viewvc/manifoldcf/integration/solr-3.x/branches/CONNECTORS-914/solr/conf/solrconfig-auth.xml?rev=1583664&r1=1583663&r2=1583664&view=diff
==============================================================================
--- manifoldcf/integration/solr-3.x/branches/CONNECTORS-914/solr/conf/solrconfig-auth.xml (original)
+++ manifoldcf/integration/solr-3.x/branches/CONNECTORS-914/solr/conf/solrconfig-auth.xml Tue Apr  1 13:34:55 2014
@@ -1,5 +1,4 @@
-<?xml version="1.0" ?>
-
+<?xml version="1.0" encoding="UTF-8" ?>
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
@@ -16,12 +15,6 @@
  See the License for the specific language governing permissions and
  limitations under the License.
 -->
-
-<!-- $Id$
-     $Source$
-     $Name$
-  -->
-
 <config>
 
   <luceneMatchVersion>${tests.luceneMatchVersion:LUCENE_CURRENT}</luceneMatchVersion>

Modified: manifoldcf/integration/solr-3.x/branches/CONNECTORS-914/src/main/java/org/apache/solr/mcf/ManifoldCFQParserPlugin.java
URL: http://svn.apache.org/viewvc/manifoldcf/integration/solr-3.x/branches/CONNECTORS-914/src/main/java/org/apache/solr/mcf/ManifoldCFQParserPlugin.java?rev=1583664&r1=1583663&r2=1583664&view=diff
==============================================================================
--- manifoldcf/integration/solr-3.x/branches/CONNECTORS-914/src/main/java/org/apache/solr/mcf/ManifoldCFQParserPlugin.java (original)
+++ manifoldcf/integration/solr-3.x/branches/CONNECTORS-914/src/main/java/org/apache/solr/mcf/ManifoldCFQParserPlugin.java Tue Apr  1 13:34:55 2014
@@ -21,21 +21,11 @@ import org.apache.lucene.search.*;
 import org.apache.lucene.queryParser.ParseException;
 import org.apache.solr.search.QParserPlugin;
 import org.apache.solr.search.QParser;
-import org.apache.solr.common.params.CommonParams;
-import org.apache.solr.common.params.MapSolrParams;
 import org.apache.solr.common.params.SolrParams;
 import org.apache.solr.common.util.NamedList;
-import org.apache.solr.common.util.StrUtils;
 import org.apache.solr.request.SolrQueryRequest;
 import org.apache.solr.common.SolrException;
-import org.apache.solr.common.params.CommonParams;
-import org.apache.solr.common.params.ShardParams;
-import org.apache.solr.common.params.SolrParams;
-import org.apache.solr.common.util.NamedList;
-import org.apache.solr.handler.component.ResponseBuilder;
-import org.apache.solr.handler.component.SearchComponent;
 import org.apache.solr.core.CloseHook;
-import org.apache.solr.util.plugin.SolrCoreAware;
 import org.apache.solr.core.SolrCore;
 import org.apache.commons.httpclient.*;
 import org.apache.commons.httpclient.methods.*;
@@ -94,7 +84,7 @@ public class ManifoldCFQParserPlugin ext
   {
     super();
   }
-
+  @Override
   public void init(NamedList args)
   {
     authorityBaseURL = (String)args.get("AuthorityServiceBaseURL");

Modified: manifoldcf/integration/solr-3.x/branches/CONNECTORS-914/src/main/java/org/apache/solr/mcf/ManifoldCFSearchComponent.java
URL: http://svn.apache.org/viewvc/manifoldcf/integration/solr-3.x/branches/CONNECTORS-914/src/main/java/org/apache/solr/mcf/ManifoldCFSearchComponent.java?rev=1583664&r1=1583663&r2=1583664&view=diff
==============================================================================
--- manifoldcf/integration/solr-3.x/branches/CONNECTORS-914/src/main/java/org/apache/solr/mcf/ManifoldCFSearchComponent.java (original)
+++ manifoldcf/integration/solr-3.x/branches/CONNECTORS-914/src/main/java/org/apache/solr/mcf/ManifoldCFSearchComponent.java Tue Apr  1 13:34:55 2014
@@ -327,6 +327,7 @@ public class ManifoldCFSearchComponent e
     return "$URL$";
   }
 
+  @Override
   public void inform(SolrCore core)
   {
     core.addCloseHook(new CloseHandler());