Description
Is your feature request related to a problem? Please describe.
As query shapes evolve, there have been multiple requests by users ato dynamically change limits on max clauses allowed for a boolean query. Today, this is a static setting indices.query.bool.max_clause_count
that defaults to 1024. Any change requires a yml change and rolling restart of the cluster which is not convenient
On hitting an error like TooManyClauses: maxClauseCount is set to 1024
, while a re-look at query is always recommended, but in scenarios where larger clauses are required, we should allow supporting those
Describe the solution you'd like
Make indices.query.bool.max_clause_count
a dynamic setting which can then be dynamically updated via settings update like
PUT /_cluster/settings --data '{
"transient" : {
"indices.query.bool.max_clause_count" : 2048
}
}'
Metadata
Metadata
Assignees
Labels
Type
Projects
Status