错误信息:
org.frameworkset.elasticsearch.ElasticSearchException: Request url:http://192.168.200.128:9200/hotel
RequestBody:{
"match_all":{}
}
ResponseBody:{"error":"Incorrect HTTP method for uri [/hotel] and method [POST], allowed: [DELETE, GET, HEAD, PUT]","status":405}
解决办法:发送请求的索引库名后面跟上/_search
后缀