Check if the mappings are setup correctly and if you’ve the same schema.xml 
file in both places: notch and solr. For a more concrete error you could check 
your solr log, it will tell you what happens.

Regards.

On Jul 21, 2014, at 1:34 AM, Muhamad Muchlis <[email protected]> wrote:

> Hi All,
> 
> am using Solr. but i have an error when i execute command:*bin/nutch
> solrindex http://localhost:8983/solr/ <http://localhost:8983/solr/>
> -reindex*
> 
> root@ubuntu:/usr/lib/apache/apache-nutch-2.1/runtime/local# bin/nutch
> solrindex http://localhost:8983/solr/ -reindex
> SolrIndexerJob: starting
> Adding 3 documents
> SolrIndexerJob: java.lang.RuntimeException: job failed: name=solr-index,
> jobid=job_local_0001
> at org.apache.nutch.util.NutchJob.waitForCompletion(NutchJob.java:55)
> at org.apache.nutch.indexer.solr.SolrIndexerJob.run(SolrIndexerJob.java:46)
> at
> org.apache.nutch.indexer.solr.SolrIndexerJob.indexSolr(SolrIndexerJob.java:54)
> at org.apache.nutch.indexer.solr.SolrIndexerJob.run(SolrIndexerJob.java:75)
> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> at org.apache.nutch.indexer.solr.SolrIndexerJob.main(SolrIndexerJob.java:84)
> 
> Advice me please.
> 
> 
> Best Regard's
> 
> 
> M. Muchlis

VII Escuela Internacional de Verano en la UCI del 30 de junio al 11 de julio de 
2014. Ver www.uci.cu

Reply via email to