Following is my query that I am using :
{
"query": {
"bool": {
"must": [
{
"text": {
"searchable.title": {
"type": "phrase_prefix",
"query": "a",
"analyzer": "simple"
}
}
}
]
}
}
}
Its being crashed when I am querying single characters as "a","b","c","v"
etc. but not all character, like "z" is giving the response. and the
exception in the former cases is :
Query Failed [Failed to execute main query]]; nested: TooManyClauses[maxClauseCount is set to 1024]; }]
So now I am trying to set the value of max_clause_count in the index as
follows:
index.query.bool.max_clause_count : 10240
but the index is failing to start if the setting is there in the yml file
and starts if I remove the setting.
So what can be the solution
??