I'm importing data periodically. Some of the documents are completely new, whereas others include modifications to only certain fields.
Using the bulk api, I'd like to be able to index the new documents, storing a created time. And, update the modified documents, only when fields have changed, storing at least an updated time and ideally, also, a record of what changed (so ultimately I could view revisions over time).
Is this possible? What would be the recommended way to do this?