Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
OpenSearch 1.2
Describe the issue:
I apologize if my questions seem basic. As far as I’ve researched, it seems that OpenSearch only allows the creation or deletion of documents from an index, without providing a direct way to track when the index was last updated. However, I’m interested in knowing what strategy the community is currently using to determine if an index hasn’t been updated for some time.
Currently, my client can request a new indexing of records based on my implementation, which results in the creation of a new index, dissociating the previous index from their environment. I believe that handling the deletion of the previous index, which is no longer in use, could be done using ISM.
Configuration:
{
“cluster_name”: “130210428544:opensearch-12-us”,
“status”: “yellow”,
“timed_out”: true,
“number_of_nodes”: 1,
“number_of_data_nodes”: 1,
“discovered_master”: true,
“active_primary_shards”: 763,
“active_shards”: 763,
“relocating_shards”: 0,
“initializing_shards”: 0,
“unassigned_shards”: 70,
“delayed_unassigned_shards”: 0,
“number_of_pending_tasks”: 0,
“number_of_in_flight_fetch”: 0,
“task_max_waiting_in_queue_millis”: 0,
“active_shards_percent_as_number”: 91.59663865546219
}
Relevant Logs or Screenshots:
N/A