Slicing in Delete By Query API not available in NEST

Hi,
slices parameter in Delete By Query is available in REST API, but I cannot find the slices parameter in NEST
How's that?
Thanks in advance

It's currently missing. I've added an issue to implement it for the next release.

In the meantime, you can use the lowlevel client to send with slicing

var response = client.LowLevel.DeleteByQuery<DeleteByQueryResponse>("index-name", new
{
    slice = new {
        id = 1,
        max = 2
    },
    query = new {
        range = new
        {
            likes = new
            {
                lt = 10
            }
        }
    }
});

var deleteByQueryResponse = response.Body;

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