When I update 2.3.1
to 6.7.1
Elasticsearch version.
ASIS DSL Query looks like below the image
{
"min_score": 0.9,
"query": {
"bool": {
"must": {
"multi_match": {
"query": "Bisket",
"fields": [
"title^2",
"content"
],
"minimum_should_match": "100%"
}
},
"filter": [
{
"term": {
"visible": true
}
},
{
"terms": {
"type": [
"Cookie",
"Bread"
]
}
},
{
"terms": {
"publish_range": [
1,
2,
3,
4
]
}
}
]
}
}
}
I wanna use this property name type
in terms but, the DSL property name 'terms' has reserved word that type
maybe.
How can I use the property name type
on my DSL Query?