Hi Srinivas, I guess you can add some field that will be set in your DIH config - something like: <field name=“dih” template=“1” />
And you can use ‘dih’ field to filter out doc that are imported using DIH. HTH, Emir -- Monitoring - Log Management - Alerting - Anomaly Detection Solr & Elasticsearch Consulting Support Training - http://sematext.com/ > On 31 Jan 2018, at 11:19, Srinivas Kashyap <srini...@tradestonesoftware.com> > wrote: > > Hello, > > I'm trying to get the documents which got indexed on calling DIH and I want > to differentiate such documents with the ones which are added using SolrJ > atomic update. > > Is it possible to get the document primary keys which got indexed thru > "onImportEnd" Eventlistener? > > Any alternative way I can find them? > > Thanks and Regards, > Srinivas Kashyap > > > DISCLAIMER: > E-mails and attachments from TradeStone Software, Inc. are confidential. > If you are not the intended recipient, please notify the sender immediately by > replying to the e-mail, and then delete it without making copies or using it > in any way. No representation is made that this email or any attachments are > free of viruses. Virus scanning is recommended and is the responsibility of > the recipient.