# ES 2 to 7.5 migration

**URL:** <https://discuss.elastic.co/t/es-2-to-7-5-migration/242022>\
**Category:** Elasticsearch\
**Created:** [July 21, 2020, 12:16pm UTC](https://discuss.elastic.co/t/es-2-to-7-5-migration/242022 "2020-07-21T12:16:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lhmzhou](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lhmzhou/32/83581_2.png) [@lhmzhou](https://discuss.elastic.co/u/lhmzhou)\
**Post date:** [July 21, 2020, 12:16pm UTC](https://discuss.elastic.co/t/es-2-to-7-5-migration/242022/1 "2020-07-21T12:16:54Z")

</div>

Hi,

I'm currently migrating from ES 2 to 7.5. Below query gives me results in the older version and no results/error in newer version when executed in Postman.

> `{"query":{"constant_score":{"filter":{"terms":{"templateId":["AVoFf3hiHdjqewpccNCY"]}}}}}`

Should I reindex API to index all data from old to new instance? Any help is greatly appreciated; thanks!

---

<div class="post-metadata">

**Author:** ![sebgl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sebgl/32/48702_2.png) [@sebgl](https://discuss.elastic.co/u/sebgl)\
**Post date:** [July 21, 2020, 12:46pm UTC](https://discuss.elastic.co/t/es-2-to-7-5-migration/242022/2 "2020-07-21T12:46:09Z")

</div>

@lhmzhou you should probably ask this question in the [Elasticsearch section](https://discuss.elastic.co/c/elastic-stack/elasticsearch/6). It seems related to Elasticsearch itself, not to ECK.

---

<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:** [August 18, 2020, 12:46pm UTC](https://discuss.elastic.co/t/es-2-to-7-5-migration/242022/3 "2020-08-18T12:46:17Z")

</div>

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