I am facing same problem. Thought of to share some work around, you can add in configuration during crawl request and retrieve same when indexer job start.
On Nov 5, 2016 5:00 PM, "Markus Jelsma" <markus.jel...@openindex.io> wrote: > Hi - If you want to index some custom fields, you can either use > index.parse.md or create a custom indexing filter plugin. > Markus > > -----Original message----- > > From:Sachin Shaju <sachi...@mstack.com> > > Sent: Friday 4th November 2016 10:05 > > To: user@nutch.apache.org > > Subject: Custom elastic indexer in nutch > > > > Hi, > > > > I was running test runs on nutch elastic indexer.I would like to add > > some custom fields and custom typenames(instead of "doc") that can be > given > > as arguments to the indexing job. I understand *NutchDocument* is the > class > > which is responsible for setting field names and metadata but couldn't > > figure out where nutch create instance of this and sets values. Or Is > there > > any other way for this. Please help. > > > > Regards, > > Sachin Shaju > > > > sachi...@mstack.com > > > > -- > > > > > > The information contained in this electronic message and any attachments > to > > this message are intended for the exclusive use of the addressee(s) and > may > > contain proprietary, confidential or privileged information. If you are > not > > the intended recipient, you should not disseminate, distribute or copy > this > > e-mail. Please notify the sender immediately and destroy all copies of > this > > message and any attachments. > > > > WARNING: Computer viruses can be transmitted via email. The recipient > > should check this email and any attachments for the presence of viruses. > > The company accepts no liability for any damage caused by any virus > > transmitted by this email. > > > > www.mStack.com > > >