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 field
2) Transform it with a regular expression to just leave the date part
3) Map it to date using custom format (see schemaless configs for one of those)

Regards,
   Alex.
----
Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter:
http://www.solr-start.com/


On 2 March 2015 at 12:44, Mirko Torrisi <mirko.torr...@ucdconnect.ie> wrote:
> I forgot to add that the txt files are divided in directory following this
> rule: /YYYY/MM/**files**.
>
> Regards,
> Mirko

Reply via email to