I am new to ES, i am having query as
GET 2020-06-03/_search
{
"query": {
"bool": {
"must": [
{
"term": {
"Email": "u125@tester.com"
}
},
{
"terms": {
"User": [
"prot@test.com"
]
}
},
{
"range": {
"TimeSp": {
"gte": 1588575600,
"lte": 1591167599
}
}
}
]
}
},
"size": 10000,
"sort": {
"TimestampSecs": {
"order": "desc"
}
},
"_source": [
"Type",
"Reason",
"User",
]
}
ho can i add regex to terms User?