Hello!
There's a question I have with regards of using a wildcard query.
So I have a set of values on a field "meta.test_key.value"
Let's say I have these values:
1.- Alice
2.- alICe
3.- AlIcE
4.- Aliceee
Now I do my wildcard query:
{
"query": {
"wildcard": {
"meta.test_key.value": "alice*"
}
}
}
And I only get 1 result ( Aliceee ).
This "makes" sense to me as the wildcard is searching for anything that matches alice + something more . However, I would like to have results for anything that matches "alice" and "alice" + something more.
For this, I found the regexp query does the job. My question is: Is there a way to make this query with a wildcard query?
Thanks for your time and hope you have a good day