negative lookahead Regexp doesnt work in ES dsl query
问题 The mapping of my Elastic search looks like below: { "settings": { "index": { "number_of_shards": "5", "number_of_replicas": "1" } }, "mappings": { "node": { "properties": { "field1": { "type": "keyword" }, "field2": { "type": "keyword" }, "query": { "properties": { "regexp": { "properties": { "field1": { "type": "keyword" }, "field2": { "type": "keyword" } } } } } } } } } Problem is : I am forming ES queries using elasticsearch_dsl Q(). It works perfectly fine in most of the cases when my