Permalink
Browse files

Upgrade to Solr 3.1.0

  • Loading branch information...
1 parent 77ac602 commit 75143879cf987e0aef26ac220fea26fc40fd6f72 @daithiocrualaoich daithiocrualaoich committed Apr 1, 2011
Showing with 12 additions and 3 deletions.
  1. +10 −1 pom.xml
  2. +2 −2 src/main/java/com/gu/solr/MergeUpdateRequestProcessorFactory.java
View
11 pom.xml
@@ -17,11 +17,20 @@
<dependency>
<groupId>org.apache.solr</groupId>
<artifactId>solr-core</artifactId>
- <version>1.4.1</version>
+ <version>3.1.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
+ <repositories>
+ <repository>
+ <id>guardianGithub</id>
+ <name>Guardian Github</name>
+ <url>http://guardian.github.com/maven</url>
+ <layout>default</layout>
+ </repository>
+ </repositories>
+
<build>
<plugins>
<plugin>
@@ -24,7 +24,7 @@
import org.apache.solr.common.SolrInputDocument;
import org.apache.solr.core.SolrCore;
import org.apache.solr.request.SolrQueryRequest;
-import org.apache.solr.request.SolrQueryResponse;
+import org.apache.solr.response.SolrQueryResponse;
import org.apache.solr.schema.IndexSchema;
import org.apache.solr.search.DocIterator;
import org.apache.solr.search.QueryParsing;
@@ -41,7 +41,7 @@
public class MergeUpdateRequestProcessorFactory extends UpdateRequestProcessorFactory {
@Override
- public UpdateRequestProcessor getInstance(SolrQueryRequest req, SolrQueryResponse rsp, UpdateRequestProcessor next) {
+ public UpdateRequestProcessor getInstance(SolrQueryRequest req, SolrQueryResponse response, UpdateRequestProcessor next) {
if (req.getParams().getBool("merge", false)) {
return new MergeUpdateRequestProcessor(req, next);
}

0 comments on commit 7514387

Please sign in to comment.