發佈此彈性搜索拋出異常 org.elasticsearch.index.query.QueryParsingException:MYAPP]沒有爲[匹配]彈性搜索查詢 - 彈性搜索1.7
http://localhost:9200/
GET myapp/_search/
{
"query": {
"filtered": {
"filter": {
"bool": {
"must": [
{
"match": {
"userName": "Micky"
}
},
{
"match": {
"Age": 21
}
}
],
"should": [],
"must_not": []
}
}
}
},
"from": 0,
"size": 20
}
爲什麼這個查詢註冊過濾器錯誤(技術細節)?
的可能的複製[ElasticSearch:無過濾爲\註冊[匹配\] \]](http://stackoverflow.com/questions/21116803/elasticsearch-no-filter-registered-for-match) – Mico