0

我希望将参数附加?search_type=count到弹性搜索。

curl -XGET 'http://127.0.0.1:9200/votes/_search?search_type=count'  -d '
{
   "facets" : {
      "votes" : {
         "terms" : {
            "field" : "question_id"
         }
      }
   }
}'

类似的东西。我如何告诉轮胎附加它search_type=count

4

1 回答 1

1

search_type=count轮胎中尚不支持查询,github问题中指出的解决方法是将大小设置为0。

于 2012-01-06T07:13:44.787 回答