Re: Time of insert

2017-02-07 Thread Mahmoud Almokadem
lessandro Benedetti > Search Consultant, R Software Engineer, Director > Sease Ltd. - www.sease.io > -- > View this message in context: http://lucene.472066.n3. > nabble.com/Time-of-insert-tp4319040p4319122.html > Sent from the Solr - User mailing list archive at Nabble.com. >

Re: Time of insert

2017-02-07 Thread alessandro.benedetti
Consultant, R Software Engineer, Director Sease Ltd. - www.sease.io -- View this message in context: http://lucene.472066.n3.nabble.com/Time-of-insert-tp4319040p4319122.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Time of insert

2017-02-06 Thread Mahmoud Almokadem
Thanks Alex for your reply. But the field created_date will be updated every time the document inserted to the solr. I want to record the first time the document indexed to solr and I'm using DataImport handler. And I tried solr.TimestampUpdateProcessorFactory but I got NullPointerException, So I

Re: Time of insert

2017-02-06 Thread Alexandre Rafalovitch
If you are reindexing full documents, there is no way. If you are actually doing updates using Solr updates XML/JSON, then you can have a created_date field with default value of NOW. Similarly, you could probably do something with UpdateRequestProcessor chains to get that NOW added somewhere.

Re: Time of insert

2017-02-06 Thread Fuad Efendi
ser@lucene.apache.org> Date: February 6, 2017 at 3:32:34 PM To: solr-user@lucene.apache.org <solr-user@lucene.apache.org> <solr-user@lucene.apache.org> Subject: Time of insert Hello, I'm using dih on solr 6 for indexing data from sql server. The document can br indexed

Time of insert

2017-02-06 Thread Mahmoud Almokadem
Hello, I'm using dih on solr 6 for indexing data from sql server. The document can br indexed many times according to the updates on it. Is that available to get the first time the document inserted to solr? And how to get the dates of the document updated? Thanks for help, Mahmoud