5.X/8. Breaking Changes

v5.0 Breaking changes

drscg 2017. 10. 23. 21:35

This section discusses the changes that you need to be aware of when migrating your application to Elasticsearch 5.0.

여기에서는 application을 Elasticsearch 5.0 으로 migration할 경우 알아야 할 변경 사항에 대해 이야기한다.

Migration Pluginedit

The elasticsearch-migration plugin (compatible with Elasticsearch 2.3.0 and above) will help you to find issues that need to be addressed when upgrading to Elasticsearch 5.0.

elasticsearch-migration plugin(Elasticsearch 2.3.0 이상과 호환되는)은 Elasticsearch 5.0으로 upgrade할 경우, 해결해야 할 issue를 찾는데 도움이 될 것이다.

Indices created before 5.0edit

Elasticsearch 5.0 can read indices created in version 2.0 or above. An Elasticsearch 5.0 node will not start in the presence of indices created in a version of Elasticsearch before 2.0.

Elasticsearch 5.0 은 verion 2.0 이상에서 생성된 indices를 읽을 수 있다. Elasticsearch 5.0 node는 Elasticsearch version 2.0 이전에서 생성된 indices가 있으면 시작하자 못 한다.

Important

Reindex indices from Elasticseach 1.x or before

Indices created in Elasticsearch 1.x or before will need to be reindexed with Elasticsearch 2.x or 5.x in order to be readable by Elasticsearch 5.x. It is not sufficient to use the upgrade API. See Reindex to upgrade for more details.

Elasticsearch 1.x 이전 version에서 생성된 indices는 Elasticsearch 5.x 에서 읽을 수 있도록 하기 위해 Elasticsearch 2.x 나 5.x 으로 다시 색인해야 한다. upgrade API를 사용하는 것으로 충분하지 않다. 자세한 정보는 Reindex to upgrade을 참조하자.

The first time Elasticsearch 5.0 starts, it will automatically rename index folders to use the index UUID instead of the index name. If you are using shadow replicas with shared data folders, first start a single node with access to all data folders, and let it rename all index folders before starting other nodes in the cluster.

Elasticsearch 5.0 이 처음 시작될 때, index 이름 대신 index UUID를 사용하도록 index folder의 이름이 자동으로 변경된다. 공유 데이터 folder로 shadow replicas을 사용하는 경우, 먼저 모든 데이터 folder에 대한 access 권한을 가진 단일 node를 시작하고, cluster의 다른 node를 시작하기 전에 모든 index folder의 이름을 변경한다.

Also see:edit


'5.X > 8. Breaking Changes' 카테고리의 다른 글

v5.2-01. Shadow Replicas are deprecated  (0) 2017.10.23
v5.1 Breaking changes  (0) 2017.10.23
v5.0-01. Search and Query DSL changes  (0) 2017.10.23
v5.0-02. Mapping changes  (0) 2017.10.23
v5.0-03. Percolator changes  (0) 2017.10.23