Merge branch 'es_common_index' into 'master'
ES common index This will allow as to use parent/child relationship in ES. Related to https://gitlab.com/gitlab-org/gitlab-ee/issues/375 - [x] Fix settings overlapping - [x] Specs - [x] Test everything - [x] Change rake tasks - [x] Change index settings for all models - [x] Update the install doc - [x] Update the update doc (I created https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5545) - [x] Prepare text for release blog post 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](../integration/elasticsearch.md#add-gitlabs-data-to-the-elasticsearch-index) See merge request !598
Showing
lib/gitlab/elastic/helper.rb
0 → 100644
Please register or sign in to comment