Take a look at the DateFormatTransformer. You can find documentation on the DataImportHandler wiki.
http://wiki.apache.org/solr/DataImportHandler On Tue, Nov 18, 2008 at 10:41 PM, con <[EMAIL PROTECTED]> wrote: > > > Hi Noble, > I am using DIH. > > > > Noble Paul നോബിള് नोब्ळ् wrote: > > > > How are you indexing the data ? by posting xml? or using DIH? > > > > > > On Tue, Nov 18, 2008 at 3:53 PM, con <[EMAIL PROTECTED]> wrote: > >> > >> Hi Guys > >> I have timestamp fields in my database in the format, > >> ddmmyyhhmmss.Z AM > >> eg: 26-05-08 10:45:53.661000000 AM > >> But I think the since the solr date format is different, i am unable to > >> index the document with the solr.DateField. > >> So is there any option by which I can give my timestamp format to solr > >> and > >> index and search data based on that. > >> i have already setup solr and is working fine for other datatypes. > >> So is it possible to set this new date format in some config files. > >> > >> Expecting suggestions/advices > >> Thanks in advance > >> con > >> -- > >> View this message in context: > >> > http://www.nabble.com/Error-in-indexing-timestamp-format.-tp20556862p20556862.html > >> Sent from the Solr - User mailing list archive at Nabble.com. > >> > >> > > > > > > > > -- > > --Noble Paul > > > > > > -- > View this message in context: > http://www.nabble.com/Error-in-indexing-timestamp-format.-tp20556862p20564005.html > Sent from the Solr - User mailing list archive at Nabble.com. > > -- Regards, Shalin Shekhar Mangar.