Hi Emir,

Thanks for the reply,

As I'm doing atomic update on the existing documents(already indexed from DIH) 
as well, with the suggested approach, I might end up doing atomic update on DIH 
imported document and commit the same.

So, I wanted to get the document values which were indexed when import was 
completed("onImportEnd" eventlistener).

Thanks and Regards,
Srinivas Kashyap



-----Original Message-----
From: Emir Arnautović [mailto:emir.arnauto...@sematext.com] 
Sent: 31 January 2018 04:14 PM
To: solr-user@lucene.apache.org
Subject: Re: OnImportEnd EventListener

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.


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.

Reply via email to