Reindex Elasticsearch note index to update to long type
Description
This Elasticsearch migration updates the note mapping to match the PostgreSQL database types with the Elasticsearch documents indexed to long.
This is another attempt similar to !184202 (merged), but after fixing the documents count: !186885 (merged) and !186851 (merged).
Reference:
- https://docs.gitlab.com/development/search/advanced_search_migration_styleguide/#zero-downtime-reindex-migration
- https://docs.gitlab.com/development/search/advanced_search_migration_styleguide/#searchelasticmigrationreindextaskhelper
Related to #502817 (closed).
Edited by Arturo Herrero