elasticsearch
elasticsearch api
인덱스 생성 PUT /user { "mappings": { "properties": { "userId": { "type": "integer" }, "name": { "type": "keyword" }, "birthday": { "type": "date" }, "comment": { "type": "text" } } } } 인덱스 삭제 DELETE /user 문서 생성 (id 지정) POST /user/_doc/1 { "userId": 100, "name": "홍길동", "birthday": "2022-01-01T00:00:00", "comment": "설명입니다" } 문서 생성 (id를 지정하지 않고) POST /user/_doc { "userId": 100, "name": "홍길동", "birthday..
2022. 12. 22. 20:33