Check if items need updating

Hi,
Currently working on a scheduled batch import.
The items that are being saved may or may not contain updated values.
My question is if I should first get the documents by IDs and check if the items need updating, and then post if they do, or should I just post all documents? I guess 7 out of 10 times it will not contain updated values.

Updates in Elasticsearch are relatively expensive, so if you can reduce the number of documents sent to it then it'd make sense.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.