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!
dadoonet
(David Pilato)
March 26, 2018, 2:39pm
2
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
dadoonet
(David Pilato)
March 26, 2018, 7:34pm
4
Yes. There is a default limit of 10000 hits (from + size)
Is there any way to make this limit increase on URL?
dadoonet
(David Pilato)
March 26, 2018, 8:19pm
6
No there is not.
If you can't call index settings API then you can't modify this.
system
(system)
Closed
April 23, 2018, 8:20pm
7
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.