Back to All

Onify query limits

Hi,

I am getting trouble with query onfiy REST API.

WARNING: {"statusCode":500,"error":{"message":"[query_phase_execution_exception] Result window is too large, from + size must be less than or equal to: [10000] but was [20000]. See the scroll api for a more efficient way to request large data sets. This limit can be set by changing the [index.max_result_window] index level setting."}}

I was wondering why I cannot take in 10000 or 5000 blocks more than first 10000.

startfrom=10000&pagesize=10000 doesn't let me get results from 10k to 20k?

I was hoping that I could get onify already indexed objects in use, but there comes limits infront of me.
Other possibility is that I gather same indexed items from same places that the original index constructor does, but it would be more easy for me to get it from one place where the objects are already gathered.