Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Problem Statement

Since we are moving to multi index format and static mapping there should be a way in accordance with CI/CD to update mapping whenever a new field is added as required.

Solution Approach

A jenkins job can be added to update mapping for indexes. The jenkins needs to be configured to perform below steps

  1. verify if the index exists or not?
  2. if index does not exists, create index with create file.
  3. If index is available it calls the update mapping.

Problem Statement

How to verify if an index exists or not

Solution Approach

A HEAD http call can be used to verify if index exists or not

index exists
Request

HEAD /{indexName}

Response status code with details

200 - index exists
404 - index missing 





  • No labels