I'm looking for a way to search an array of items where should have wildcards in their extremities.
I tried to use query_string, but this search does not allow an array search.
{"query": {
"bool": {
"must": [
{
"query_string": {
"query": ["*item1*","*item2*"],
"fields": [
"fiscalID"
],
"default_operator": "OR"
}
}
]
}
}
}
If someone has any solution I will really appreciate it.
Thanks.