Only overwrite the jar's if you use Solr 3.x branch or trunk. If you're using 
1.3 or 1.4.1 then you're fine with the jar's that come with Nutch 1.2.

The schema.xml and solrmapping.xml files are just examples that come with 
Nutch. Nutch won't index your Solr database, it will only send data to your 
Solr index using the solrmapping.xml as a mapping between Nutch' fields and 
Solr's fields.

You need the solrmapping.xml in your Nutch configuration and schema.xml in your 
Solr configuration, then you're good to go with an example crawl. Fire the 
solrindex command and if it fails, send output from Nutch' logs/hadoop.log and 
the output of your Solr servlet container.


On Tuesday 26 October 2010 23:46:29 Steve Cohen wrote:
> Thanks for the response.
> 
> Let me see if I understand properly.
> 
> The solr jar files in lib
> 
> ./lib/apache-solr-core-1.4.0.jar
> ./lib/apache-solr-solrj-1.4.0.jar
> 
> and solrindex-mapping.xml/schema.xml file in conf is so that nutch can
> index the solr database, while the separate solr instance is used to
> search the result?
> 
> Thanks,
> Steve
> 
> On Tue, Oct 26, 2010 at 3:43 PM, Markus Jelsma
> 
> <markus.jel...@openindex.io>wrote:
> > Hi,
> > 
> > You'll need a 1.3 or 1.4.x version (i don't know if the bin format
> > changed between 1.3 to 1.4 but i think it didn't). You can also use Solr
> > 3.x branch but you'll have to copy the solrj and solr-core JAR's from
> > your Solr build to Nutch' lib dir.
> > 
> > Make sure you'll check Solr's log if Nutch fails to send data, and make
> > sure your Solr schema.xml is correct for what Nutch sends to it.
> > 
> > Cheers,
> > 
> > 
> > On Tue, 26 Oct 2010 15:05:33 -0400, Steve Cohen <mail4st...@gmail.com>
> > 
> > wrote:
> >> Hello,
> >> 
> >> I am looking at the wiki page for running nutch and solr.
> >> 
> >> http://wiki.apache.org/nutch/RunningNutchAndSolr
> >> 
> >> I see this step:
> >> 
> >> *1.* Download Solr version 1.3.0 or
> >> LucidWorks<http://wiki.apache.org/nutch/LucidWorks>for Solr from
> >> 
> >> Download page
> >> 
> >> and this step:
> >> 
> >> *5.* Configure Solr For the sake of simplicity we are going to use the
> >> example configuration of Solr as a base.
> >> 
> >> Do we still download a version of solr (presumably version 1.4 since
> >> that is
> >> what nutch 1.2 is using) and configure it?
> >> 
> >> Thanks,
> >> Steve
> > 
> > --
> > Markus Jelsma - CTO - Openindex
> > http://www.linkedin.com/in/markus17
> > 050-8536600 / 06-50258350

-- 
Markus Jelsma - CTO - Openindex
http://www.linkedin.com/in/markus17
050-8536600 / 06-50258350

Reply via email to