Elasticsearch API

1 개요[ | ]

Elasticsearch API /
http://localhost:9200/
curl http://localhost:9200/
7.5 예시
$ curl localhost:9200
{
  "name" : "93ff514944ec",
  "cluster_name" : "docker-cluster",
  "cluster_uuid" : "ZnzjXMOwS_anKjegieK8rA",
  "version" : {
    "number" : "7.5.0",
    "build_flavor" : "default",
    "build_type" : "docker",
    "build_hash" : "e9ccaed468e2fac2275a3761849cbee64b39519f",
    "build_date" : "2019-11-26T01:06:52.518245Z",
    "build_snapshot" : false,
    "lucene_version" : "8.3.0",
    "minimum_wire_compatibility_version" : "6.8.0",
    "minimum_index_compatibility_version" : "6.0.0-beta1"
  },
  "tagline" : "You Know, for Search"
}
7.2 예시
# curl -u elastic:password localhost:9200
{
  "name" : "localhost",
  "cluster_name" : "elasticsearch",
  "cluster_uuid" : "DoZwos0YR26WsHSZYO4O2A",
  "version" : {
    "number" : "7.2.0",
    "build_flavor" : "default",
    "build_type" : "tar",
    "build_hash" : "508c38a",
    "build_date" : "2019-06-20T15:54:18.811730Z",
    "build_snapshot" : false,
    "lucene_version" : "8.0.0",
    "minimum_wire_compatibility_version" : "6.8.0",
    "minimum_index_compatibility_version" : "6.0.0-beta1"
  },
  "tagline" : "You Know, for Search"
}
6.6 예시
$ curl localhost:9200
{
  "name" : "y7oTXyn",
  "cluster_name" : "docker-cluster",
  "cluster_uuid" : "Y0d8OvEuSziHxLRq0S9s8g",
  "version" : {
    "number" : "6.6.2",
    "build_flavor" : "default",
    "build_type" : "tar",
    "build_hash" : "3bd3e59",
    "build_date" : "2019-03-06T15:16:26.864148Z",
    "build_snapshot" : false,
    "lucene_version" : "7.6.0",
    "minimum_wire_compatibility_version" : "5.6.0",
    "minimum_index_compatibility_version" : "5.0.0"
  },
  "tagline" : "You Know, for Search"
}

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}