Currently, I have a document that is regularly reviewed, I want to track the document, keeping every old version of the document. Therefore, if document A contains a summary and update date, I want to keep the previous version along with its update data after each update.
The problem is that I'm not sure how I should do this effectively:
...{
Title: A
Summary: {update_date:content, update_date:content, ...}
}
The problem is that if I take the key as a value, then the automatically generated schema will take all dates as possible keys. This is not what you want.
So my question is the most efficient way to track all changes by date in ElasticSearch?
source
share