Elastic search process query index limitation to 10000 for process instance query search

when i try to set the page size from to 10000

{
    "filter": {
        "variables": [
            {
                "name": "z_orgpath_id",
                "value":"\"test1\""
            }
        ]
    },
    "page": {
    "from": 10000,
    "limit": 5
    
  }
}

getting the below error
{
“type”: “about:blank”,
“title”: “co.elastic.clients.elasticsearch._types.ElasticsearchException”,
“status”: 500,
“detail”: “Unexpected error occurred during the request processing: [es/search] failed: [search_phase_execution_exception] all shards failed”,
“instance”: “/v2/process-instances/search”
}

but if i change the cluster max result setting i can able to search

{
  "index": {
    "max_result_window": 20000
  }
}

is the team working on optimizing the query search api i have use cases where i might go for limit more than 10000 any suggestion of how i can resolve the issue

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