You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Mahmoud Almokadem <pr...@gmail.com> on 2016/08/14 18:56:52 UTC

insertion time

Hello, 

We always update the same document many times using DataImportHandler. Can I add a field for the first time the document inserted to the index and another field for the last time the document updated?


Thanks,
Mahmoud 

Re: insertion time

Posted by Emir Arnautovic <em...@sematext.com>.
Hi Mahmoud,

I haven't been looking for new DIH featrures, but I don't think there is 
something that can provides such functionality and that only thing you 
can do is track it in your source and index it (like createDate and 
lastUpdatedDate).

Regards,
Emir


On 14.08.2016 20:56, Mahmoud Almokadem wrote:
> Hello,
>
> We always update the same document many times using DataImportHandler. Can I add a field for the first time the document inserted to the index and another field for the last time the document updated?
>
>
> Thanks,
> Mahmoud

-- 
Monitoring * Alerting * Anomaly Detection * Centralized Log Management
Solr & Elasticsearch Support * http://sematext.com/