Hello everyone , I just started using "DSL query" on my ELK platform and i want to make a DSL request that can use wildcard to perform matching search . my request will find all the mail_domain (term) that end with "mail.com" , "test.com" , "email.com" basically a list of domains , and dsplay them .
Here's my resquest
{
"query": {
"wildcard": {
"mail_domain.keyword": ["*mail.com" , "*email.com" , "*test.com"]
}
}
}
it seems like wilcard can't take an array of a term values . Do you have any idea how can i do it ?
Thanks