# Is not support reindex from es6 to es7

**URL:** <https://discuss.elastic.co/t/is-not-support-reindex-from-es6-to-es7/236295>\
**Category:** Elasticsearch\
**Created:** [June 9, 2020, 9:25am UTC](https://discuss.elastic.co/t/is-not-support-reindex-from-es6-to-es7/236295 "2020-06-09T09:25:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![innze](https://avatars.discourse-cdn.com/v4/letter/i/ccd318/32.png) [@innze](https://discuss.elastic.co/u/innze)\
**Post date:** [June 9, 2020, 9:25am UTC](https://discuss.elastic.co/t/is-not-support-reindex-from-es6-to-es7/236295/1 "2020-06-09T09:25:17Z")

</div>

The following error is occurring when reindexing from remote es to es.

Request

```auto
POST _reindex
    {
      "source": {
        "remote": {
          "host": "http://remote_es_url:9200"
        },
        "index": "source"
      },
      "dest": {
        "index": "dest"
      }
    }

```

Response

```auto
    {
      "error": {
        "root_cause": [
          {
            "type": "exception",
            "reason": "Error parsing the response, remote is likely not an Elasticsearch instance"
          }
        ],
        "type": "exception",
        "reason": "Error parsing the response, remote is likely not an Elasticsearch instance",
        "caused_by": {
          "type": "x_content_parse_exception",
          "reason": "[1:185] [search_response] failed to parse field [hits]",
          "caused_by": {
            "type": "x_content_parse_exception",
            "reason": "[1:185] [hits] total doesn't support values of type: START_OBJECT"
          }
        }
      },
      "status": 500
    }

```

remote es version : 7.6.0  
reindex es version: 6.5.3

Aren't you supporting reindex of version es6 from version es7?

Thank you for your reply in advance.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 9, 2020, 9:47am UTC](https://discuss.elastic.co/t/is-not-support-reindex-from-es6-to-es7/236295/2 "2020-06-09T09:47:17Z")

</div>

You want to downgrade? Is that right?  
Why do you want to do such a thing?

---

<div class="post-metadata">

**Author:** ![innze](https://avatars.discourse-cdn.com/v4/letter/i/ccd318/32.png) [@innze](https://discuss.elastic.co/u/innze)\
**Post date:** [June 9, 2020, 10:58pm UTC](https://discuss.elastic.co/t/is-not-support-reindex-from-es6-to-es7/236295/3 "2020-06-09T22:58:45Z")

</div>

First of all, thank you for your answer.

Yes, I'm going to downgrade.  
This is because I want to move the index of es7 that I created for testing to es6 that is currently linked to something else.  
I can index es6 from the original data, but I thought it would be convenient to use reindex api.

Anyway, reindexing from es7 to es6 is not supported, is it?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 9, 2020, 11:23pm UTC](https://discuss.elastic.co/t/is-not-support-reindex-from-es6-to-es7/236295/4 "2020-06-09T23:23:56Z")

</div>

I guess it's not supported.

---

<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 7, 2020, 11:24pm UTC](https://discuss.elastic.co/t/is-not-support-reindex-from-es6-to-es7/236295/5 "2020-07-07T23:24:03Z")

</div>

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