Parent ticket: #101016
Summary
Background: #109276 (comment)
We should consider a "hybrid" approach in which an "update" means we write a document to the current write index (which we can assume to have the most recent mappings) and we delete the document from the index it was previously in. That would be almost like a reindex-on-write approach.
Benefits:
Risks/cons:
- We don't have a transaction to make this operation atomic, so we might have intermittently missing or duplicate alert docs.
- In Security we don't update
@timestamp and other fields except the status, and the benefits are not that obvious for Security.
Parent ticket: #101016
Summary
Background: #109276 (comment)
We should consider a "hybrid" approach in which an "update" means we write a document to the current write index (which we can assume to have the most recent mappings) and we delete the document from the index it was previously in. That would be almost like a reindex-on-write approach.
Benefits:
Risks/cons:
@timestampand other fields except thestatus, and the benefits are not that obvious for Security.