How do I get Elasticsearch max_clause_count to take effect?

The setting should go in the elasticsearch config (there where the
analyzers go), not in the index settings.

And: are you really need more than 1024 clauses (can be bad in terms
of RAM)? Why not using a boolean filter or a terms filter? Or are you
hitting the limit because of some query expansion of a different
query?

Peter.