Prevent regex/wildcard query

Hi,

Is it possible to prevent a query sent to Elasticsearch that contains regex or wildcard?
We have issues with a query that crashes the cluster using prefix wildcard and would like to prevent that from happening in the future. How should we configure ES cluster, would any circuit breaker help, or maybe some other setting?

ES cluster version is 6

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.