yuuvis® RAD Q&A

0 votes
by (2.9k points)

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

1 Answer

+1 vote
by (16.5k points)

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.


by (2.9k points)
ok, Thank you

Related questions