# "No search context found for id" during reindex

**URL:** <https://discuss.elastic.co/t/no-search-context-found-for-id-during-reindex/206169>\
**Category:** Elasticsearch\
**Created:** [November 1, 2019, 1:06pm UTC](https://discuss.elastic.co/t/no-search-context-found-for-id-during-reindex/206169 "2019-11-01T13:06:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomhe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tomhe/32/120065_2.png) [@tomhe](https://discuss.elastic.co/u/tomhe)\
**Post date:** [November 1, 2019, 1:06pm UTC](https://discuss.elastic.co/t/no-search-context-found-for-id-during-reindex/206169/1 "2019-11-01T13:06:35Z")

</div>

I've started to get the following exception during reindex operations:

```
elasticsearch.exceptions.NotFoundError: NotFoundError(404, 'search_phase_execution_exception', 'No search context found for id [3764110]')

```

What can I do to avoid this?

(Elasticsearch 7.4.0 in Docker.)

---

<div class="post-metadata">

**Author:** ![HenningAndersen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/henningandersen/32/48188_2.png) [@HenningAndersen](https://discuss.elastic.co/u/HenningAndersen)\
**Post date:** [November 8, 2019, 1:39pm UTC](https://discuss.elastic.co/t/no-search-context-found-for-id-during-reindex/206169/2 "2019-11-08T13:39:40Z")

</div>

@tomhe this can happen either if one of the nodes cobtainibg the source indices is restarted while reindex runs or if the underlying scroll search times out. You can try to increase the scroll timeout on the reindex request to see if that helps.

---

<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:** [December 6, 2019, 1:39pm UTC](https://discuss.elastic.co/t/no-search-context-found-for-id-during-reindex/206169/3 "2019-12-06T13:39:43Z")

</div>

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