Skip to content

ES common index

Valery Sizov requested to merge es_common_index into master

This will allow as to use parent/child relationship in ES. Related to https://gitlab.com/gitlab-org/gitlab-ee/issues/375

Proposed addition to releasepost:

We totally changed the structure of Elasticsearch index this is why we need to remove whole index and build new one. To be able to use parent/child relationship in ES we decided to move everything in a single index. This solution has some drawback - if we decide to change the type of some existing field in ES we will need to rebuild whole index for every entity. So it makes it harder to support but we expect to have more performance advantages with parent/child relationships.

Migration

Remove old indexes

curl -XDELETE 'http://localhost:9200/_all/'

Build new indexes as described in Elasticsearch integration

Merge request reports

Loading