Upsert

Using java api ... is there a way to get details like

  1. how many docs updated as part of that upsert
  2. how many docs inserted as part of the upsert

let me know if we can get these details

The answer is always 0 or 1 I suppose unless I don't understand the question or the api you are using.

Also look at https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/java-rest-high-document-update.html#java-rest-high-document-update-response

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