indexing - integrate Nutch 1.6 with Solr 4.3 IOException when running <nutch crawl urls -solr http://localhost:8983/solr/> Job Failed. Any ideas? -
i trying integrate nutch 1.6 solr 4.3 (i copied /apache-nutch-1.6/conf/schema-solr4.xml collection1/conf/ , rename file schema.xml). tried nutch1.5.1 integrate solr 4.3. in both situations getting ioexception when running:
bash$ nutch crawl urls -solr http://127.0.0.1:8983/solr/
job failed. ideas?
i figuered 1 out myself, had @ solr.log , add these fields below schema.xml under collection1/conf
<field name="host" type="string" stored="false" indexed="true"/>
<field name="segment" type="string" stored="true" indexed="false"/>
<field name="digest" type="string" stored="true" indexed="false"/>
<field name="boost" type="float" stored="true" indexed="false"/>
<field name="tstamp" type="date" stored="true" indexed="false"/>
, worked.
yes can please put additional details log. possible cause may need define uniquekey in schema.xml file. this
<uniquekey>id</uniquekey>.
Comments
Post a Comment