Hello OS,
we are using /search service in our backend. Default size=100 but we need all search results something like /search/?size=all
We do not want to hardcode a specific number e.q. 10.000.000
Is this possible?
Thank You
Hello Dennis,
it is not recommended and thus not supported to get all search results at once since with big resultsets you will sooner or later exceed the memory limits of the participating services. Our recommended best practice is to use the size parameter with a suitable value (such as 100 or 1000) in combination with the offset parameter and scroll through all available result objects.
Regards Nicolai
381 questions
506 answers
417 comments
168 users