Add a groups index to elasticsearch

What does this MR do and why?

Add a groups index to elasticsearch.

References

Screenshots or screen recordings

Before After

How to set up and validate locally

  1. Create the index (Rails console):

    rec = ::Elastic::DataMigrationService.migrations.find { |m| m.name == "CreateGroupsIndex" }
    rec.migrate
    rec.completed? # => true
  2. Verify the index + mappings exist:

    curl -s "localhost:9200/gitlab-development-groups/_mapping?pretty"

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #607015 (closed)

Edited by Siddharth Dungarwal

Merge request reports

Loading
Loading