Course: < Elastic Certified Engineer Exam>
Version: <8.1>
Question:
What is the difference between following two queries?
1:
{
"query": {
"bool": {
"must": [
{
"multi_match": {
"query": "star",
"fields": [
"original_title^2",
"overview",
"tagline"
]
},
"range": {
"vote_average": {
"gt": 7
}
}
}
]
}
}
}
2:
{
"query": {
"bool": {
"must":
{
"multi_match": {
"query": "star",
"fields": [
"original_title^2",
"overview",
"tagline"
]
},
"range": {
"vote_average": {
"gt": 7
}
}
}
}
}
}
Does I need the array brackets or not?