如何在Elasticsearch中将CURL转换为URI

如何在Elasticsearch中将CURL转换为URI,第1张

如何在Elasticsearch中将CURL转换为URI

您可以使用

source
查询字符串参数,以便直接在URL中传递正文

curl -XGET 'http://localhost:9200/employee/_search?search_type=count&pretty&source={"aggregations":{"profile":{"terms":{"field":"_type"},"aggs":{"hits":{"top_hits":{"size":1}}}}}}' ^ |    use the source parameter


欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/zaji/4901485.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-11-12
下一篇2022-11-12

发表评论

登录后才能评论

评论列表(0条)

    保存