I'm getting two different errors while trying to index Nutch crawls to Solr. I'm running with:
- CentOS 6.3 VM (Virtualbox) (in host Windows XP) - Solr 3.6.1 - Nutch 1.5.1 It would seem that NUTCH-1251 comes rather close to solving my issue? Which would mean that I would have to compile Nutch 1.6 to fix this? Error #1 - When indexing directly to Solr ------------------------------------------------ Command: bin/nutch crawl urls -solr http://localhost:8080/solr/core2 -depth 3 -topN 5 Error: Exception in thread "main" java.io.IOException: org.apache.solr.client.solrj.SolrServerException: Error executing query SolrIndexer: starting at 2012-09-06 14:30:11 Indexing 8 documents java.io.IOException: Job failed! SolrDeleteDuplicates: starting at 2012-09-06 14:30:55 SolrDeleteDuplicates: Solr url: http://localhost:8080/solr/core2 Exception in thread "main" java.io.IOException: org.apache.solr.client.solrj.SolrServerException: Error executing query at org.apache.nutch.indexer.solr.SolrDeleteDuplicates$SolrInputFormat.getSp lits(SolrDeleteDuplicates.java:200) at org.apache.hadoop.mapred.JobClient.writeOldSplits(JobClient.java:989) at org.apache.hadoop.mapred.JobClient.writeSplits(JobClient.java:981) at org.apache.hadoop.mapred.JobClient.access$600(JobClient.java:174) at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:897) at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:850) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:416) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformatio n.java:1121) at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:850) at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:824) at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1261) at org.apache.nutch.indexer.solr.SolrDeleteDuplicates.dedup(SolrDeleteDupli cates.java:373) at org.apache.nutch.indexer.solr.SolrDeleteDuplicates.dedup(SolrDeleteDupli cates.java:353) at org.apache.nutch.crawl.Crawl.run(Crawl.java:153) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) at org.apache.nutch.crawl.Crawl.main(Crawl.java:55) Caused by: org.apache.solr.client.solrj.SolrServerException: Error executing query at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.j ava:95) at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:118) at org.apache.nutch.indexer.solr.SolrDeleteDuplicates$SolrInputFormat.getSp lits(SolrDeleteDuplicates.java:198) ... 16 more Caused by: org.apache.solr.common.SolrException: Not Found Not Found request: http://localhost:8080/solr/core2/select?q=id:[* TO *]&fl=id&rows=1&wt=javabin&version=2 at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsH ttpSolrServer.java:430) at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsH ttpSolrServer.java:244) at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.j ava:89) ... 18 more Error #2 - When indexing post-crawl -------------------------------------------- Command: bin/nutch solrindex http://localhost:8080/solr/core2 crawl/crawldb -linkdb crawl/linkdb Error: org.apache.solr.common.SolrException: Not Found SolrIndexer: starting at 2012-09-06 15:39:24 org.apache.solr.common.SolrException: Not Found Not Found request: http://localhost:8080/solr/core2/update Regards, Dan

