On Mon, Jun 29, 2015 at 4:37 PM, Amit Jha <shanuu....@gmail.com> wrote:
> Hi,
>
> I setup a SolrCloud with 2 shards each is having 2 replicas with 3
> zookeeper ensemble.
>
> We add and update documents from web app. While updating we delete the
> document and add same document with updated values with same unique id.

I am not sure why you delete the document. If you use the same unique
key and send the whole document again (with some other fields
changed), Solr will automatically overwrite the old document with the
new one.

>
> I am facing a very strange issue that some time 2 documents have the same
> unique ID. One document with old values and another one with new values.
> It happens only we update the document.


>
> Please suggest or guide...
>
> Rgds



-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to