Convert a diff statements from a data model to updates on an index, such as an ElasticSearch database.