elastic search _mapping

    [Elastic] Elasticsearch 인덱스 생성 및 삭제: shards, replica, mapping...

    인덱스 생성 1. 인덱스 생성: 샤드, 레플리카 설정 1.1 인덱스 생성: shards=3, replicas=2 PUT /$index { "settings": { "index": { "number_of_shards": 3, "number_of_replicas": 2 } } } shards 개수는 생성 이후 변경 불가능하고 replicas 개수는 변경 가능합니다. 1.2 인덱스 생성: default shards, replicas // default shards: 1, replicas: 0 PUT /$index 2. 인덱스 생성: 스키마(mapping) 생성 + 샤드, 레플리카 2.1 스키마리스(schemaless) Elastic Search는 RDB 처럼 데이터를 insert하였을 때 테이블이 없다면데이터..