Re: Formatting dates

2014-09-23 Thread Manohar Kanuri
Thanks Alex, I will try your "not programming" :) solution. Really appreciate your time and effort. manohar On Sep 22, 2014, at 6:23 PM, Alexandre Rafalovitch wrote: > You could try - for your ideal scenario - creating an > UpdateRequestProcessor (URP) chain, that > includes:ParseDateFieldU

Re: Formatting dates

2014-09-22 Thread Erick Erickson
Alexandre: Honest, I looked for that but was in a rush and couldn't find it and thought I was remembering something _else_. That's definitely a better approach, thanks! Perhaps this time I'll remember Erick On Mon, Sep 22, 2014 at 3:23 PM, Alexandre Rafalovitch wrote: > You could try - fo

Re: Formatting dates

2014-09-22 Thread Alexandre Rafalovitch
You could try - for your ideal scenario - creating an UpdateRequestProcessor (URP) chain, that includes:ParseDateFieldUpdateProcessorFactory https://lucene.apache.org/solr/4_10_0/solr-core/org/apache/solr/update/processor/ParseDateFieldUpdateProcessorFactory.html Notice that it has been designed f

Re: Formatting dates

2014-09-22 Thread Manohar Kanuri
Thanks Erick, I expected to hear the dreaded word "programming" at some point and I guess that point has arrived. Now that I know where and what to tinker with. And I should have said 4.10 below, not 5.0. On Sep 22, 2014, at 4:44 PM, Erick Erickson wrote: > I think this'll help: > > htt

Re: Formatting dates

2014-09-22 Thread Erick Erickson
I think this'll help: http://wiki.apache.org/solr/ScriptUpdateProcessor Essentially, each time a document comes in to Solr, this will get invoked on it. You'll have to do some fiddling to get it right, you have to remove the field from the doc and transform it then put it back. None of this is ha

Formatting dates

2014-09-22 Thread Manohar Kanuri
Hello, I am a non-techie who decided to download and install Solr 5.0 to parse data for my community activism. Got it installed and running, updated the example schema and installation with a bunch of CSV data. And went back to deal with the first of two fields I deferred till later - dates an