Re: Create field date using name file

2015-03-02 Thread Alexandre Rafalovitch
So, what do you have already? Did you get as far as having a Solr document that has a full name as one of the fields and you just want to extract the date portion into a separate field? If so, your best bet is probably a custom UpdateRequestProcessor chain that will 1) Copy filename field to date

Re: Create field date using name file

2015-03-02 Thread Mirko Torrisi
I forgot to add that the txt files are divided in directory following this rule: //MM/**files**. Regards, Mirko

Create field date using name file

2015-03-02 Thread Mirko Torrisi
Hi folks, Hopefully this is an easy question but I couldn't do it after several hours.. I created a new field (adding indexed="true" stored="true"/>) and I'd like to use name file value to fill out it. The name files are like: TEXT_CRE_MMGG_X-XXX-XXX.txt or TEXT_CRE_MMGG_X-XXX.txt (w