elasticsearch各种服务链接

查看elasticsearch信息
http://localhost:9200/

查看某个索引信息
http://localhost:9200/index_name
例如:http://localhost:9200/twitter

查看某个文档
http://localhost:9200/index_name/type_name/id
例如:http://localhost:9200/twitter/tweet/1

查看某个分词器分词结果
http://localhost:9200/index_name/_analyze?analyzer=standard&pretty=true&text=要分词的文本
analyzer默认值是standard,可以省略不写或指定为其他的分词器
例如:http://localhost:9200/userinfo/_analyze?analyzer=ik&pretty=true&text=我是中国人

查看所有节点的详细信息
http://10.127.0.1:9200/_nodes/stats
查看所有节点的详细信息中的某一项
http://10.127.0.1:9200/_nodes/stats/jvm?pretty

猜你喜欢

转载自www.cnblogs.com/gavinYang/p/11199674.html