Update_by_query list of updated/not updated


(Tiago Vicente) #1

Hello,

When using the _update API if we specify _source:true we are able to retrieve the updated document.

Is there any way to return a list of the updated/not updated documents when using the update_by_query api?

example:


{
    "took": 14,
    "timed_out": false,
    "total": 1,
    "updated": 1,
    "deleted": 0,
    "batches": 1,
    "version_conflicts": 0,
    "noops": 0,
    "retries": {
        "bulk": 0,
        "search": 0
    },
    "throttled_millis": 0,
    "requests_per_second": -1,
    "throttled_until_millis": 0,
    "failures": [],

    "successHitList": [..]
}

(system) closed #2

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