How to get all results with search API

I am trying to use the REST API to get the contents of the index.

I found that this API only retrieves up to 10 results by default.

I also found that by using the size option, I can retrieve the specified number of results.

However, I want to retrieve all the results I specify.
Is it possible to retrieve all results without specifying the size?

Out of curiosity, why do you want all the results at once and not use size or any other pagination strategy?

2 Likes

@RabBit_BR Thanks for commenting.
Ah. I knew there was such a function.
Where is it described? Please tell me how to use it.

Oh. I'm guessing you mean this one?

If so, maybe you can refer to this area for how to use it.

This post explain about techniques pagination.

1 Like

@RabBit_BR Wow. Thank you. I will read this article.

1 Like

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