I have a query to search for a provider_id
from the Elastic Search Cluster
. I am using the below query to get results for a single provider_id
but need help in figuring out how can I pass a list of providers.
{
"query": {
"bool": {
"must": [{
"match": {
"message.provider_id": {
"query": 943523,
"type": "phrase"
}
}
}]
}
}
}
Suppose I want to search for provider_ids = [913523, 923523, 923523, 933523, 953523]
then how should I modify the query?