我已經插入一條記錄在ElasticSearch一個我可以看到,在這裏:
爲什麼我可以使用bool查詢在彈性搜索中檢索記錄?
但這個查詢返回什麼:
{
"query": {
"filtered": {
"query": {
"bool": {
"must": {
"term": {
"name": "Ehsanl"
}
}
}
}
}
}
}
我發佈使用post
方法給這個用戶這個查詢:http://127.0.0.1:9200/mydb/customers2/_search
那有什麼問題?