Hi Harsh, On Wed, Apr 6, 2016 at 7:14 AM, <[email protected]> wrote:
> > From: harsh <[email protected]> > To: [email protected] > Cc: > Date: Wed, 06 Apr 2016 15:43:05 +0530 > Subject: Index in storage-backend > Hi All > > While exploring nutch 2.3.1-gora-mongoDB I exclude the all index > plugin(basic,index-more,metadata). But found no impact on the document.All > documents stored in mongoDB having all fields. This is because whichever Gora Datastore you use hosts all of the 'WebPage' and 'Host' data. > Is IndexWriter is only for Solr/ES. Yes correct. > Can we use this for storage-backend. If Yes then How? Well, right now no. The Gora supported datastore maintains all of the WebPage and Host. > and If No Then what are the ways to add custom-field in storage-backend. > > You would need to alter one or both of the schema(s) in https://github.com/apache/nutch/tree/2.x/src/gora, you then need to recompile the data beans via the 'ant generate-gora-src' target from build.xml Lewis

