# Elastic search BulkAsync after Reindex is overwriting the documents

**URL:** <https://discuss.elastic.co/t/elastic-search-bulkasync-after-reindex-is-overwriting-the-documents/184273>\
**Category:** Elasticsearch\
**Created:** [June 5, 2019, 4:27am UTC](https://discuss.elastic.co/t/elastic-search-bulkasync-after-reindex-is-overwriting-the-documents/184273 "2019-06-05T04:27:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SudevPK](https://avatars.discourse-cdn.com/v4/letter/s/b5e925/32.png) [@SudevPK](https://discuss.elastic.co/u/SudevPK)\
**Post date:** [June 5, 2019, 4:27am UTC](https://discuss.elastic.co/t/elastic-search-bulkasync-after-reindex-is-overwriting-the-documents/184273/1 "2019-06-05T04:27:03Z")

</div>

Hi everyone,  
I am having an Elastic search node(Elastic search 7.0.1).I have created an index called "property\_autocomplete" and pushed data from SQL to "property\_autocomplete" index.  
I forgot to add some fields.So i have reindexed "property\_autocomplete" to "property\_autocomplete\_1" using the below query:

POST \_reindex  
{  
"source": {  
"index": "property\_autocomplete"  
}  
},  
"dest": {  
"index": "property\_autocomplete\_1"  
}  
}  
After the reindex is complete, i have pushed one field alone to "property\_autocomplete\_1" using BulkIndexAsyn():

var descriptor = new BulkDescriptor();  
descriptor.Index(i =\> i  
.Index(indexName)  
.Type(typeName)  
.Id(id)  
.Document(obj));  
var bulkresult = esClient.Bulk(descriptor);

But the documents are overwritten instead of updating.  
Please suggest some solutions ?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 3, 2019, 4:27am UTC](https://discuss.elastic.co/t/elastic-search-bulkasync-after-reindex-is-overwriting-the-documents/184273/2 "2019-07-03T04:27:04Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
