예시
{
"query": {
"bool": {
"filter": [
{
"bool": {
"should": [
{
"term": {
"region_type": "city"
}
}
]
}
},
{
"wildcard": {
"region_name": "*seoul*"
}
}
]
}
}
}
참고
- https://stackoverflow.com/a/40755927/10194999
- https://discuss.elastic.co/t/filtered-wildcard-query/143259/4
쿼리 만들어 요청보내는 example이 더 많아야 할것같음...