Indexing error in solr data scanned by nut

I have work with nutch and solr, and I have a problem integrating Solr with Nutch. I followed this guide: http://wiki.apache.org/nutch/NutchTutorial and after use: bin/nutch crawl urls -solr http://localhost:8983/solr/ -depth 3 -topN 5 Nutch message:

java.io.IOException: job failed!

and solr shows:

SEVERE: org.apache.solr.common.SolrException: ERROR: [doc = http://nutch.apache.org/] unknown field 'host'

I thought the reason might be the lack of a "host" field in the $ SOLR_HOME / example / solr / conf / schema.xml file, but it does exist. I would really appreciate your help.

+8
indexing runtime-error solr nutch
source share
1 answer

A configuration change on the Nutch side does not affect the Solr circuit. You must define this field in schema.xml Solr.

+2
source share

All Articles