Step 3: Add mapping version to Elasticsearch indices in the Admin UI

Problem to solve

We want to allow the admin users to set the option of which Mapping Version to use in each Elasticsearch index.

For that we'll need to add this to the admin UI:

1.9_Create_second_index

Further details

Part of a multi-step approach to redesign the Elasticsearch Admin UI: See epic.

This is a follow-up to !17230 (closed) / !18254 (merged) / !20421 (merged).

  • The version is currently automatically set in the ElasticsearchIndex model, and the latest version is hard-coded in the LATEST_VERSION constant.
  • The backend API should provide a list of available versions to the frontend, and the model should validate that the version is present in this list.

Documentation

Please update the docs re: Elasticsearch Admin.

Links / references

Edited by Takuya Noguchi