Skip to content

Advanced search migration for catalog resources

Laura Montemayor requested to merge add-advanced-search-migration into master

What does this MR do and why?

Adds two indexes to the existing Project index - ci_catalog boolean and readme_content text field

How to set up and validate locally

  1. Run local development with elasticsearch and sidekiq running
gdk start
  1. Run the migration
bundle exec rake gitlab:elastic:index
  1. Run the following query and make sure the ci_catalog and readme_content attribute is present
curl -H 'Content-type: application/json' -XGET 'http://localhost:9200/gitlab-development' | json_pp

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Resolves: #396556 (closed)

Edited by Laura Montemayor

Merge request reports