0
我Elasticsearch的問題Elasticsearch多範圍錯誤
以下json值在我的本地服務器中工作,但不在遠程服務器中。
ERROR:query doesn't support multiple fields, found [date] and [price]
post.json
{
"query": {
"bool": {
"must": [
{
"query_string": {
"query": "product:DESKTOP"
}
},
{
"range": {
"date": {
"gt": "2018-04-24",
"lte": "2018-06-24"
},
"price": {
"gt": 0,
"lte": 2000
}
}
}
]
}
},
"from": 10,
"size": 200 }
哪裏錯了嗎?謝謝您的回答