Forum Discussion

ak2407's avatar
New Member
2 years ago

Advance Search API - Limiting to 50,000 results

Hello -


We upgraded from version 7.9 to version 7.11 last weekend.  We are now having failures on data pulls over 50,000 when using the Advance Search API functionality.  Has anyone else had this issue?  Any suggestions on how to resolve it?  Error message and code are below.


    "errorMsg": "Elasticsearch exception [type=search_phase_execution_exception, reason=all shards failed]; nested exception is ElasticsearchStatusException[Elasticsearch exception [type=search_phase_execution_exception, reason=all shards failed]]; nested: ElasticsearchException[Elasticsearch exception [type=illegal_argument_exception, reason=Result window is too large, from + size must be less than or equal to: [50000] but was [50200]. 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.]]; nested: ElasticsearchException[Elasticsearch exception [type=illegal_argument_exception, reason=Result window is too large, from + size must be less than or equal to: [50000] but was [50200]. 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.]];",

    "errorCode": "108z04"



No RepliesBe the first to reply