How to return all values in URL

Hello,

I have a BD with many products, i'm trying to return all values in a request URL.
i have a total of products: 837721, but i can only 10000.

i'm trying use From and Size, but, not working.

localhost:8080/api/v1/products?valor_min=0&valor_max=9999999999&size=10000&from=0

help?

thanks!

If your goal is to extract all information, then use the scroll API. It has been built for that.

If you want to do deep pagination, look at search_after feature.

I can not use search_after or scroll.

I'm extracting information in URL.

Example: https://menorpreco.notaparana.pr.gov.br/api/v1/produtos?local=6gd1bpc59&raio=20&size=10000

But, not working :frowning:

Yes. There is a default limit of 10000 hits (from + size)

Is there any way to make this limit increase on URL?

No there is not.

If you can't call index settings API then you can't modify this.

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