Check your solrconfig.xml file for references to a "host" field.

But maybe more importantly, make sure you use a Solr 4.1 solrconfig and merge in any of your application-specific changes.

-- Jack Krupansky

-----Original Message----- From: Amit Sela
Sent: Friday, April 05, 2013 12:57 PM
To: solr-user@lucene.apache.org
Subject: unknown field error when indexing with nutch

Hi all,

I'm trying to run a nutch crawler and index to Solr.
I'm running Nutch 1.6 and Solr 4.2.

I managed to crawl and index with that Nutch version into Solr 3.6.2 but I
can't seem to manage to run it with Solr 4.2

I re-built Nutch with the schema-solr4.xml and copied that file to
SOLR_HOME/example/solr/collection1/conf/schema.xml but the job fails when
trying to index:

SolrException: ERROR: [doc=
http://0movies.com/watchversion.php?id=3818&link=1364879137] unknown field
'host'

It looks like Solr is not aware of the schema... Did I miss something ?

Thanks.

Reply via email to