嗯,网上各种搜,搜完各种不好用,也不知道为啥那样配。
最后找到如下链接,里面都是你想要的:
https://elasticsearch.cn/book/elasticsearch_definitive_guide_2.x