OpenSearch/server
Christoph Büscher 9e561c2921 Fix AbstractBulkByScrollRequest slices parameter via Rest (#53068)
Currently the AbstractBulkByScrollRequest accepts slice values of 0 via its
`setSlices` method, denoting the "auto" slicing behaviour that is usable by
settting the "slices=auto" parameter on rest requests. When using the High Level
Rest Client, however, we send the 0 value as an integer, which is then rejected
as invalid by `AbstractBulkByScrollRequest#parseSlices`. Instead of making
parsing of the rest request more lenient, this PR opts for changing the
RequestConverter logic in the client to translate 0 values to "auto" on the rest
requests.

Closes #53044
2020-03-06 15:38:04 +01:00
..
licenses Revert "upgrade to lucene-snapshot-fa75139efea (#53150) (#53151)" 2020-03-05 17:33:00 -05:00
src Fix AbstractBulkByScrollRequest slices parameter via Rest (#53068) 2020-03-06 15:38:04 +01:00
build.gradle Upgrade to lucene-8.5.0-snapshot-3333ce7da6d (#51749) 2020-01-31 11:20:15 -05:00