Negative size parameter

Hi,
while doing some test with elasticsearch (version 6.7) i notice that the size parameter seems to be ignored when set to -1 (the query returns 10 results as default) but setting it to a lower number, like -2 return an error saying that numHits must be > 0.
What's going on ?
I couldn't find anything in the documentation about this.

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