Hi,
You have two options when it comes to updating:
1. Send complete document with the same id that will replace existing document.
2. Use atomic updates to send changes, but not that fields need to be stored: 
https://lucene.apache.org/solr/guide/6_6/updating-parts-of-documents.html#UpdatingPartsofDocuments-AtomicUpdates
 
<https://lucene.apache.org/solr/guide/6_6/updating-parts-of-documents.html#UpdatingPartsofDocuments-AtomicUpdates>

Solr (Lucene) does not support actual updating of indexed document, but only 
flagging existing document as deleted and inserting a new document with same 
id. It needs to know all values of this new document and it can come from a 
client (option 1) or it can use existing document to read some values (option 
2).

HTH,
Emir
--
Monitoring - Log Management - Alerting - Anomaly Detection
Solr & Elasticsearch Consulting Support Training - http://sematext.com/



> On 10 Apr 2018, at 12:30, swap <swapnil.du...@gmail.com> wrote:
> 
> Hi
> 
> I have document indexed. Email-Id is unique key in document. On updating I
> need to ignore few field if its already exists. Please let me know if
> something more required.
> 
> 
> 
> --
> Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Reply via email to