Elasticsearch查看版本:
[root@ycyzharry ~]# curl http://127.0.0.1:9200 { "name" : "ycyzharry", "cluster_name" : "my-cluster", "cluster_uuid" : "_Gu9lSBcSgKxf1w0eppNGA", "version" : { "number" : "7.6.2", "build_flavor" : "default", "build_type" : "tar", "build_hash" : "ef48eb35cf30adf4db14086e8aabd07ef6fb113f", "build_date" : "2020-03-26T06:34:37.794943Z", "build_snapshot" : false, "lucene_version" : "8.4.0", "minimum_wire_compatibility_version" : "6.8.0", "minimum_index_compatibility_version" : "6.0.0-beta1" }, "tagline" : "You Know, for Search" }
number对应的7.6.2即是es的版本号