Basically , what I need is to refresh the index. Suppose, in a directory I have 
4 docs, that have been indexed. So, my search works upon those 4.
Now, when I delete one of them, re-index and search, still that deleted 
document from the directory is being searched upon.
Hope I have made it a bit more clear now.

-----Original Message-----
From: Khare, Kushal (MIND) [mailto:kushal.kh...@mind-infotech.com]
Sent: 04 November 2019 20:00
To: solr-user@lucene.apache.org
Subject: RE: Delete documents from the Solr index using SolrJ

Could you please let me know how to achieve that ?


-----Original Message-----
From: Jörn Franke [mailto:jornfra...@gmail.com]
Sent: 04 November 2019 19:59
To: solr-user@lucene.apache.org
Subject: Re: Delete documents from the Solr index using SolrJ

I don’t understand why it is not possible.

However why don’t you simply overwrite the existing document instead of 
add+delete

> Am 04.11.2019 um 15:12 schrieb Khare, Kushal (MIND) 
> <kushal.kh...@mind-infotech.com>:
>
> Hello mates!
> I want to know how we can delete the documents from the Solr index . Suppose 
> for my system, I have a document that has been indexed, now its newer version 
> is into use, so I want to use the latest one, for that I want the previous 
> one to be deleted from the index.
> Kindly help me a way out !
> I went through many articles and blogs, got the way (methods) for deleting , 
> but not actually, how to do it, because it's not possible to delete every 
> time by passing id's in around 50,000 doc system.
> Please suggest!
>
> ________________________________
>
> The information contained in this electronic message and any attachments to 
> this message are intended for the exclusive use of the addressee(s) and may 
> contain proprietary, confidential or privileged information. If you are not 
> the intended recipient, you should not disseminate, distribute or copy this 
> e-mail. Please notify the sender immediately and destroy all copies of this 
> message and any attachments. WARNING: Computer viruses can be transmitted via 
> email. The recipient should check this email and any attachments for the 
> presence of viruses. The company accepts no liability for any damage caused 
> by any virus/trojan/worms/malicious code transmitted by this email. 
> www.motherson.com

________________________________

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. WARNING: Computer viruses can be transmitted via email. The 
recipient should check this email and any attachments for the presence of 
viruses. The company accepts no liability for any damage caused by any 
virus/trojan/worms/malicious code transmitted by this email. www.motherson.com

________________________________

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. WARNING: Computer viruses can be transmitted via email. The 
recipient should check this email and any attachments for the presence of 
viruses. The company accepts no liability for any damage caused by any 
virus/trojan/worms/malicious code transmitted by this email. www.motherson.com

Reply via email to