I have this query using match type and it returns results.
POST /kibana_sample_data_ecommerce/_search
{
"query": {
"match": {
"customer_first_name": "Mary"
}
}
}
But when I use regex type, it return no result.
POST /kibana_sample_data_ecommerce/_search
{
"query": {
"regexp": {
"customer_first_name": "M[a-z]ry"
}
}
}

customer_first_name?