Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想通过 HEAD 运行 ElasticSearch 查询以提取索引的“品牌”字段中当前提到的所有品牌?
我该怎么做(不使用 curl,只通过 HEAD)?
您浏览到标题,然后浏览任何请求选项卡,您可以在其中输入您喜欢的查询。
然后在那里输入: { "size" : 0, "query": { "match_all": {} }, "facets" : { "Brands" : { "terms" : {"field" : "brand"} } } }
{ "size" : 0, "query": { "match_all": {} }, "facets" : { "Brands" : { "terms" : {"field" : "brand"} } } }