I'm using the solrconfig supplied with Sole 4.2 and I added the nutch request handler. But I keep getting the same errors. On Apr 5, 2013 8:11 PM, "Jack Krupansky" <j...@basetechnology.com> wrote:
> 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<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. >