I have a long list of fields that I want to include in my results during a match_all query (1600+) This triggers the following error:
{
* "error": {
* "root_cause": [
* {
* "type": "too_complex_to_determinize_exception",
* "reason": "too_complex_to_determinize_exception: Determinizing automaton with 194115 states and 195742 transitions would result in more than 10000 states."}],
* "type": "search_phase_execution_exception",
* "reason": "all shards failed",
* "phase": "query",
* "grouped": true,
* "failed_shards": [
* {
* "shard": 2,
* "index": "qa-contracts",
* "node": "Cm-PbvYVSfypTszrbJIQKQ",
* "reason": {
* "type": "too_complex_to_determinize_exception",
* "reason": "too_complex_to_determinize_exception: Determinizing automaton with 194115 states and 195742 transitions would result in more than 10000 states."}}]},
* "status": 500
}
My query:
{
"query": {
"match_all": {
}
},
"_source": [
"BranchCode",
"BranchInfo.A2DUuid",
.... 1600 fields here
"id"
]
}
Is it possible to set "max_determinized_states" to more than 10000 while executing this query ?