You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@unomi.apache.org by Марат Ибатуллин <im...@wifly.net> on 2023/11/03 07:02:20 UTC

RE: Requirement to fetch records beyond 10000 records

I have the same problem. And I find it disconcerting that no one has
responded to you. Is there really such a low interest in unomi?

On 2023/07/24 04:16:00 Saurav Yadav via users wrote: 
> Hi Team, 
> 
> We need to fetch records beyond 10000 to be displayed on a UI dashboard. 
> 
> I am using /cxs/profiles/search endpoint with the following body. 
> 
> "{"offset":9990,"limit":10,"sortby":"systemProperties.lastUpdated:desc"}" 
> 
> Results are coming as below which is fine (although totalSize is wrong as
10000, around 11k profiles are there - check using count endpoint).

> 
> { 
>   "list": [ ... trimmed ... ], 
>   "offset": 9990, 
>   "pageSize": 10, 
>   "totalSize": 10000, 
>   "totalSizeRelation": "GREATER_THAN_OR_EQUAL_TO" 
> 
> However, if call the endpoint with below body, it returns 204 with no
response. 
> 
> "{"offset":10000,"limit":10,"sortby":"systemProperties.lastUpdated:desc"}"

> 
> How can I fetch records more than 10k? Is there some Elasticsearch
configuration preventing it? 
> 
> Please someone let me know. Thanks in advance. 
> 
> ___________________________________________________________ 
> Regards, 
> Saurav Yadav 
> 
>