데이터 구조 
 - 인덱스 (index)
 - 타입 (type)
 - 도큐먼트 (document)

 - 인덱스 : 샤드 (shard) + 복사본 (replica)


관계형 db                     엘라스틱서치
---------------------------------------
데이터 베이스                   인덱스
테이블                           타입 (type)
열(Colume)                     도큐먼트(document)
행(Row)                          필드(field)
스키마(Schema)                매핑(Mapping)


curl -X {method} http://host:9200/{index}/{type}/{id} -H 'Content-Type: application/json' -d '{ ...}'

---------------------------------------
HTTP Method      CRUD       SQL
GET                   Read        Select
PUT                   Update     Update
POST                 Create       Insert
DELETE              Delete        Delete

'ELK > elasticsearch' 카테고리의 다른 글

elastic basic #1  (0) 2019.04.22
python ( elasticsearch - search template )  (0) 2019.04.20
특정 데이터 count  (0) 2019.04.10
Elasticsearch basic01  (0) 2019.04.02
elastisearch java api  (0) 2019.03.26