Hi tkg_cangkul, On Sat, Apr 23, 2016 at 9:26 AM, <[email protected]> wrote:
> > From: tkg_cangkul <[email protected]> > To: [email protected] > Cc: > Date: Fri, 22 Apr 2016 10:57:31 +0700 > Subject: Re: Solr as backend in nutch 2.3.1 > Hi Lewis, thx for your reply, > > I'm having this problem when i try to use solr as gora backend. > With the schema at https://github.com/apache/nutch/blob/2.x/src/gora/webpage.avsc ? > When i use hbase as backend, it works well. > mmmm Ok I'll check over the configuration and see what is up then and will also test it out myself.. again. > So i think that's not because the fields. > We will see. > > can u tell me all the requirements that needs to use solr as backend? > maybe step by step. > > Yes certainly, you need to 1. copy over the https://github.com/apache/nutch/blob/2.x/conf/gora-solr-webpage-schema.xml to your Solr core. This will persist your WebPage Table. 2. copy over the https://github.com/apache/nutch/blob/2.x/conf/schema.xml to another Solr core, this will enable you to 'index' your NutchDocuments. 3. Ensure that gora.properties is populated appropriate (exactly as you've done) You should be good to go. Please ensure that you've completed 1 above. I think this may where you are having issues. Thanks Lewis

