I tried this on 6.2.3:
DELETE test
POST test/doc/_bulk
{ "index": {} }
{ "foo": "bar" }
{ "index": {} }
{ "foo": "bar" }
{ "index": {} }
{ "foo": "bar" }
{ "index": {} }
{ "foo": "bar" }
{ "index": {} }
{ "foo": "bar" }
{ "index": {} }
{ "foo": "bar" }
{ "index": {} }
{ "foo": "bar" }
{ "index": {} }
{ "foo": "bar" }
{ "index": {} }
{ "foo": "bar" }
{ "index": {} }
{ "foo": "bar" }
{ "index": {} }
{ "foo": "bar" }
{ "index": {} }
{ "foo": "bar" }
{ "index": {} }
{ "foo": "bar" }
{ "index": {} }
{ "foo": "bar" }
{ "index": {} }
{ "foo": "bar" }
{ "index": {} }
{ "foo": "bar" }
{ "index": {} }
{ "foo": "bar" }
POST test/_search?scroll=1m
{
"size": 100
}
It works well:
{
"_scroll_id": "DnF1ZXJ5VGhlbkZldGNoBQAAAAAAAAFXFnJBbWhNdEtXU2MyTktwVFVjWGhiNVEAAAAAAAABVhZyQW1oTXRLV1NjMk5LcFRVY1hoYjVRAAAAAAAAAVgWckFtaE10S1dTYzJOS3BUVWNYaGI1UQAAAAAAAAFZFnJBbWhNdEtXU2MyTktwVFVjWGhiNVEAAAAAAAABWhZyQW1oTXRLV1NjMk5LcFRVY1hoYjVR",
"took": 5,
"timed_out": false,
"_shards": {
"total": 5,
"successful": 5,
"skipped": 0,
"failed": 0
},
"hits": {
"total": 17,
"max_score": 1,
"hits": [
{
"_index": "test",
"_type": "doc",
"_id": "iO3GmmIBFZyT-UHdSJyi",
"_score": 1,
"_source": {
"foo": "bar"
}
},
{
"_index": "test",
"_type": "doc",
"_id": "ku3GmmIBFZyT-UHdSJyi",
"_score": 1,
"_source": {
"foo": "bar"
}
},
{
"_index": "test",
"_type": "doc",
"_id": "iu3GmmIBFZyT-UHdSJyi",
"_score": 1,
"_source": {
"foo": "bar"
}
},
{
"_index": "test",
"_type": "doc",
"_id": "je3GmmIBFZyT-UHdSJyi",
"_score": 1,
"_source": {
"foo": "bar"
}
},
{
"_index": "test",
"_type": "doc",
"_id": "kO3GmmIBFZyT-UHdSJyi",
"_score": 1,
"_source": {
"foo": "bar"
}
},
{
"_index": "test",
"_type": "doc",
"_id": "k-3GmmIBFZyT-UHdSJyi",
"_score": 1,
"_source": {
"foo": "bar"
}
},
{
"_index": "test",
"_type": "doc",
"_id": "ie3GmmIBFZyT-UHdSJyi",
"_score": 1,
"_source": {
"foo": "bar"
}
},
{
"_index": "test",
"_type": "doc",
"_id": "i-3GmmIBFZyT-UHdSJyi",
"_score": 1,
"_source": {
"foo": "bar"
}
},
{
"_index": "test",
"_type": "doc",
"_id": "ju3GmmIBFZyT-UHdSJyi",
"_score": 1,
"_source": {
"foo": "bar"
}
},
{
"_index": "test",
"_type": "doc",
"_id": "lO3GmmIBFZyT-UHdSJyi",
"_score": 1,
"_source": {
"foo": "bar"
}
},
{
"_index": "test",
"_type": "doc",
"_id": "lu3GmmIBFZyT-UHdSJyi",
"_score": 1,
"_source": {
"foo": "bar"
}
},
{
"_index": "test",
"_type": "doc",
"_id": "l-3GmmIBFZyT-UHdSJyi",
"_score": 1,
"_source": {
"foo": "bar"
}
},
{
"_index": "test",
"_type": "doc",
"_id": "mO3GmmIBFZyT-UHdSJyi",
"_score": 1,
"_source": {
"foo": "bar"
}
},
{
"_index": "test",
"_type": "doc",
"_id": "jO3GmmIBFZyT-UHdSJyi",
"_score": 1,
"_source": {
"foo": "bar"
}
},
{
"_index": "test",
"_type": "doc",
"_id": "j-3GmmIBFZyT-UHdSJyi",
"_score": 1,
"_source": {
"foo": "bar"
}
},
{
"_index": "test",
"_type": "doc",
"_id": "ke3GmmIBFZyT-UHdSJyi",
"_score": 1,
"_source": {
"foo": "bar"
}
},
{
"_index": "test",
"_type": "doc",
"_id": "le3GmmIBFZyT-UHdSJyi",
"_score": 1,
"_source": {
"foo": "bar"
}
}
]
}
}