elasticsearch已经启动的情况下
使用curl -XGET localhost:9200命令查看:
curl -XGET localhost:9200
{
"name" : "elasticsearch",
"cluster_name" : "docker-cluster",
"cluster_uuid" : "92vv8XMgR-mgSwtVBVKRVA",
"version" : {
"number" : "7.9.3",
"build_flavor" : "default",
"build_type" : "docker",
"build_hash" : "c4138e51121ef06a6404866cddc601906fe5c868",
"build_date" : "2020-10-16T10:36:16.141335Z",
"build_snapshot" : false,
"lucene_version" : "8.6.2",
"minimum_wire_compatibility_version" : "6.8.0",
"minimum_index_compatibility_version" : "6.0.0-beta1"
},
"tagline" : "You Know, for Search"
}
在输出的json中有版本信息version中的number-7.9.3即为其版本号
IK 分词器下载地址文章来源:https://www.toymoban.com/news/detail-435399.html
https://github.com/medcl/elasticsearch-analysis-ik/releases文章来源地址https://www.toymoban.com/news/detail-435399.html
到了这里,关于elasticsearch查看版本号的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!