"Elasticsearch API 인덱스 생성"의 두 판 사이의 차이

35번째 줄: 35번째 줄:
==같이 보기==
==같이 보기==
* [[Elasticsearch API 인덱스 삭제]]
* [[Elasticsearch API 인덱스 삭제]]
* [[Elasticsearch API cat/indices]]
* [[Elasticsearch API 인덱스 목록 용량 조회 /_cat/indices]]


==참고==
==참고==

2019년 12월 12일 (목) 16:04 판

1 개요

Elasticsearch API - Create index
Elasticsearch API 인덱스 생성
testuser@localhost:~$ curl -u elastic:elastic -X PUT localhost:9200/twitter?pretty
{
  "acknowledged" : true,
  "shards_acknowledged" : true,
  "index" : "twitter"
}
testuser@localhost:~$ curl -u elastic:elastic -X GET localhost:9200/twitter?pretty
{
  "twitter" : {
    "aliases" : { },
    "mappings" : { },
    "settings" : {
      "index" : {
        "creation_date" : "1571967959548",
        "number_of_shards" : "1",
        "number_of_replicas" : "1",
        "uuid" : "kKLHtQezSKCjdTvLl3HluQ",
        "version" : {
          "created" : "7010199"
        },
        "provided_name" : "twitter"
      }
    }
  }
}

2 같이 보기

3 참고

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