Elasticsearch入门:初识分布式搜索引擎
{
"name" : "node-1",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "e7u8efiSQEegSXyJ30EiGg",
"version" : {
"number" : "7.10.0",
"build_flavor" : "default",
"build_type" : "tar",
"build_hash" : "51e9d6f214e9b7b95de4ce499defbb2c088047c8",
"build_date" : "2021-01-20T00:45:35.670974791Z",
"build_snapshot" : false,
"lucene_version" : "8.7.0",
"minimum_wire_compatibility_version" : "6.8.0",
"minimum_index_compatibility_version" : "6.0.0-beta1"
},
"tagline" : "You Know, for Search"
}
这个JSON对象提供了Elasticsearch节点的基本信息,包括节点名称、集群名称、集群UUID、版本信息,以及一个标语。这个简单的例子展示了如何使用Elasticsearch的REST API进行交互,并获取集群的基本信息。
评论已关闭