# Updating documents in an index with nested types

**URL:** <https://discuss.elastic.co/t/updating-documents-in-an-index-with-nested-types/152122>\
**Category:** Elasticsearch\
**Created:** [October 11, 2018, 7:55pm UTC](https://discuss.elastic.co/t/updating-documents-in-an-index-with-nested-types/152122 "2018-10-11T19:55:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![spanackel](https://avatars.discourse-cdn.com/v4/letter/s/a5b964/32.png) [@spanackel](https://discuss.elastic.co/u/spanackel)\
**Post date:** [October 11, 2018, 7:55pm UTC](https://discuss.elastic.co/t/updating-documents-in-an-index-with-nested-types/152122/1 "2018-10-11T19:55:48Z")

</div>

I am using an index with has nested types. Noticed that some updates to these documents taking over 30 mins to show up on the search results. Is this expected? There were multiple updates to the document, but the last update took over 40 minutes to show up on the search api.

We do have 2 replicas as the setting for the index. Could the replication be causing the issue?

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [October 15, 2018, 11:11am UTC](https://discuss.elastic.co/t/updating-documents-in-an-index-with-nested-types/152122/2 "2018-10-15T11:11:25Z")

</div>

can you reproduce this using curl/dev-tools on the commandline? I'd like to figure out first, that elasticsearch is the cuprit here and not any other part of your ingestion pipeline.

what is your refresh interval set to?

---

<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:** [November 12, 2018, 11:11am UTC](https://discuss.elastic.co/t/updating-documents-in-an-index-with-nested-types/152122/3 "2018-11-12T11:11:27Z")

</div>

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