delete_by_query API "size" parameter not supported in the json request in 6.x #35636
Labels
>bug
:Distributed Indexing/CRUD
A catch all label for issues around indexing, updating and getting a doc by id. Not search.
Elasticsearch version (
bin/elasticsearch --version
):6.xDescription of the problem including expected versus actual behavior:
Steps to reproduce:
testing the "size" parameter inside the json request
The get twitter/_search returns 2 docs after the delete_by_query call was executed in ES 5.6.x versions.
But it will return 1 doc after the call in 6.x (random testing on 6.0.0, 6.4, 6.5 ), it seems that the "size" param is ignored in the call, the delete_by_query will remove 3 docs instead of 2.
If we add "size" as a query string param then the delete_by_query will delete 2 docs on all versions tested.
Has this option been removed starting 6.x?
Was not able to find any of these changes in the es docs as well.
The text was updated successfully, but these errors were encountered: