Advanced search migration for catalog resources
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
- Run local development with elasticsearch and sidekiq running
gdk start
- Run the migration
bundle exec rake gitlab:elastic:index
- Run the following query and make sure the
ci_catalog
andreadme_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.
-
I have evaluated the MR acceptance checklist for this MR.
Resolves: #396556 (closed)
Edited by Laura Montemayor