ADR: Indexer to support pattern based indices cleanup for customers.
Status
-
Proposed - [] Trialing
- [] Under review
- [] Approved
- [] Retired
Context
In Azure we were trying to cleanup test indices in our envs by adding a cron job. We can see that there is already code present to clean up indices but there is no API to call this code from outside.
Also the search documentation talks about cron job API, but I guess the code was never brought to OSDU. https://community.opengroup.org/osdu/platform/system/search-service
Here we would like to take the view of community that would it be better if we can add the API here. Also we would to discuss if it will be a beneficial feature for customers as well where customers can provides test patterns for the indices to be deleted after X amount of time.
Scope
Addition of API to call CRON service of Indexer.
Decision
Rationale
Edited by Ankit Sharma [Microsoft]