Is not support reindex from es6 to es7

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

Request

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

Response

    {
      "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.

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

1 Like

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?

I guess it's not supported.

1 Like

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