Upgrade from 6.4 to 7.2

Hi. Here it is. Our code seems not to have enabled refresh. What is wrong with the code above?

{
  "building-name-and-number-group-ie-2018-q4" : {
    "settings" : {
      "index" : {
        "refresh_interval" : "-1",
        "number_of_shards" : "1",
        "provided_name" : "building-name-and-number-group-ie-2018-q4",
        "creation_date" : "1562076352384",
        "number_of_replicas" : "1",
        "uuid" : "Gx-XwgXjQuGcI6tH37QCNw",
        "version" : {
          "created" : "7020099"
        }
      }
    }
  }
}

I don't know yet but this definitely why it was not working.
May be check the whole code, like the value of indexName....

Many thanks for all your help.
Can we give a command in Kibana to set the refresh for a single index just to see if it works?

Sure. See https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-update-settings.html

PUT /building-name-and-number-group-ie-2018-q4/_settings
{
    "index" : {
        "refresh_interval" : "1s"
    }
}

Or run manually a refresh:

POST /building-name-and-number-group-ie-2018-q4/_refresh
1 Like

Wow - IT WORKS.
Thanks again for spending so much time on this.
Greatly appreciate it.

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