"Elasticsearch API 인덱스 삭제"의 두 판 사이의 차이

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


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

2019년 12월 12일 (목) 16:03 기준 최신판

1 개요[ | ]

Elasticsearch API - Delete index
Elasticsearch API 인덱스 삭제
testuser@localhost:~$ curl -u elastic:elastic -X DELETE localhost:9200/twitter?pretty
{
  "acknowledged" : true
}
testuser@localhost:~$ curl -u elastic:elastic -X GET localhost:9200/twitter?pretty
{
  "error" : {
    "root_cause" : [
      {
        "type" : "index_not_found_exception",
        "reason" : "no such index [twitter]",
        "resource.type" : "index_or_alias",
        "resource.id" : "twitter",
        "index_uuid" : "_na_",
        "index" : "twitter"
      }
    ],
    "type" : "index_not_found_exception",
    "reason" : "no such index [twitter]",
    "resource.type" : "index_or_alias",
    "resource.id" : "twitter",
    "index_uuid" : "_na_",
    "index" : "twitter"
  },
  "status" : 404
}

2 같이 보기[ | ]

3 참고[ | ]

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