Relates: https://www.elastic.co/guide/en/elasticsearch/reference/master/query-dsl-regexp-query.html The `regexp` query supports the `rewrite` parameter. The client should also support this parameter