Sliced scroll returns duplicates

I have tried using sliced scroll detailed explainedSliced
with the following parameters:
"sort": [
{
"_uid": {
"order": "desc",
"unmapped_type":"string"
}
}
],
"slice": {
"field":"_uid",
"id": 1,
"max": 2
}

But whether I set "id" to 1 or to 2 I always get the same results. Any idea is why this happening?

Which versions of es are you using ? The ids for the slices starts at 0 so 2 should raised an exception. Are you able to reproduce with a subset of the documents, if so can you share a reproductible scenario here ?

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