I am using elasticserach and got the following error:
'too_many_clauses: maxClauseCount is set to 1024'
Please find my code below:
{"query": {
"bool": {
"must": [
{
"query_string": {
"default_field": "education.title",
"query": data
}
}]
}
}
'data' is a string of 4500 request:
(University~ AND of~ AND Vilnius~) OR (Vilnius~ AND Higher~ AND School~) OR ... OR (Kaunas~ AND Secondary~ AND School~) (and the whole list is made of 4500 like these)
Any possible sollutions? I've read that around that filtering would help, but still I didn't solve this error.
Really appreciate your help a lot!