CRUD APIindex API문서 생성/전체 수정PUT my_index/_doc/1{ "message": "hello"}문서 생성 (랜덤 id 지정)POST my_index/_doc{ "message": "hello"}문서 생성POST my_index/_create/1{ "message": "hello"}PUT my_index/_create/1{ "message": "hello"}get API문서 조회 (메타데이터 포함)GET my_index/_doc/1문서 조회 (메타데이터 미포함)GET my_index/_source/1update API문서 부분 수정POST my_index/_update/1{ "doc": { "message":"hello!!" }}delete API문서 삭제DELE..
ElasticSearch 설치 및 실행ELKstack 폴더를 만든다.밑의 링크에서 엘라스틱서치를 다운로드 후 압축을 해제한다.https://www.elastic.co/kr/downloads/elasticsearchelasticsearch 폴더를 ELKstack 폴더 밑으로 이동한다.ELKstack/elasticsearch/config/elasticsearch.yml를 수정한다.cluster.name: test-esnode.name: test-es-node01path: data: ./data logs: ./logsnetwork.host: 127.0.0.1discovery.type: "single-node"xpack.security.enabled: false..
DatabaseShowSHOW DATABASES;CreateCREATE DATABASE IF NOT EXISTS ;DropDROP DATABASE IF EXISTS ;UseUSE ;TableCreateCREATE ( AUTO_INCREMENT, NOT NULL, PRIMARY KEY, UNIQUE, CHECK (), DEFAULT , PRiMARY KEY(), FOREIGN KEY() REFERENCES () ON UPDATE ON DELETE );CREATE ; -- select 문..