0
按照Elasticsearch documentation中的规定,elasticsearch需要在GET调用的URL中指定的索引。由于GET调用中URL的限制,这限制了可以查询的索引数量。在搜索呼叫中可以指定多少个索引?
有没有办法解决这个问题?
按照Elasticsearch documentation中的规定,elasticsearch需要在GET调用的URL中指定的索引。由于GET调用中URL的限制,这限制了可以查询的索引数量。在搜索呼叫中可以指定多少个索引?
有没有办法解决这个问题?
您可以指定请求体内的指标:
{
"indices" : {
"indices" : ["index1", "index2"],
"query" : {
"term" : { "tag" : "wow" }
},
"no_match_query" : "none"
}
}