How do I pass a list as query string to match_phrase query?
This works:
`{"match_phrase": {"requestParameters.bucketName": {"query": "auditloggingnew2232"}}},`
This does not:
{
"match_phrase": {
"requestParameters.bucketName": {
"query": [
"auditloggingnew2232",
"config-bucket-123",
"web-servers",
"esbck-essnap-1djjegwy9fvyl",
"tempexpo",
]
}
}
}
I am aware that a "bool" query is required for this. But that query will be very lengthy and complicated. Is there any way to create an alias for boolean query so that I can use the syntax mentioned above?