发布此弹性搜索抛出异常 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