If you're using Solrj then you can just add the Date object to
SolrInputDocument and everything will be taken care of. But if you are
directly uploading data with a date like that then the only option is to
use a ScriptUpdateProcessor to convert the long to a java Date.


On Sun, Jun 29, 2014 at 4:00 PM, Alexandre Rafalovitch <arafa...@gmail.com>
wrote:

> Hello,
>
> My data comes with the timestamp 12345654. I want that indexed as a date.
>
> It does not seem to be happening with default date type and none of
> the URPs seem to recognize that format.
>
> Is there something terribly obvious I am missing?
>
> Regards,
>    Alex.
> Personal website: http://www.outerthoughts.com/
> Current project: http://www.solr-start.com/ - Accelerating your Solr
> proficiency
>



-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to