Max Size of query result for bool queries

Hi,

we use nest and we want to display the count of query result. But unfortunatelly the max size for bool query is 10000. How can I increase the number of max results for bool queries. Otherwise is there another way to receive the total count of bool queries if there are more than 10000 results?

Thanks,

Dominik

Hello,

When actually retrieving such a large number of results, you should use scrolling.

In order to just get the count of results of a search, you can use the count API.