본문 바로가기

IT일반/엘라스틱서치4

오라클 클라우드 ubuntu 에 Elasticsearch 설치 20.04 버전의 Ubuntu에는 Elasticsearch 7.17.8을 설치한다. 다운로드 버전으로 설치한다. (not apt-get) https://www.elastic.co/guide/en/elasticsearch/reference/7.17/deb.html Install Elasticsearch with Debian Package | Elasticsearch Guide [7.17] | Elastic On systemd-based distributions, the installation scripts will attempt to set kernel parameters (e.g., vm.max_map_count); you can skip this by masking the systemd-sysctl.s.. 2023. 1. 28.
엘라스틱서치(Elastic Search) 데이터 구조의 이해 (업데이트) 7.0 부터는 Type이 사라졌으며 Index가 RDBMS의 Table과 Database 역할을 함. ============================== 엘라스틱 서치는 아래와 같은 구조는 아래와 같습니다. Index > Type > Document (여기서 Index는 '인덱스 공간'으로 이해해야 함. ) 기존 RDBMS와 대응해보면 Database > Table > Row 와 대응 됩니다. 그림으로 보면 엘라스틱 서치에서 데이터를 조회하는 방법은 REST API를 사용하면 간단(?)하게 조회가 가능함. (이전 포스팅 참조 2019. 7. 22.
엘라스틱서치 플러그인 Head 설치 Elasticsearch-head 다운로드 및 설명 https://github.com/mobz/elasticsearch-head mobz/elasticsearch-head A web front end for an elastic search cluster. Contribute to mobz/elasticsearch-head development by creating an account on GitHub. github.com > 보안상 ES 6.0부터는 플러그인 인스톨 방식을 지원하지 않음. deprecated Running as a plugin of Elasticsearch (deprecated) for Elasticsearch 5.x, 6.x, and 7.x: site plugins are not supported. Run as a st.. 2019. 7. 19.
Elastic Search (엘라스틱 서치) 강의 강좌 - 설치 및 테스트 데이터 입력 및 검색 Mac OS 기준 특징 엘라스틱 서치는 자바로 개발된 오픈소스 검색엔진인 아파치 루씬을 이용해서 만든 검색 솔루션이다. (아파치 루씬은 라이브러리 형태이므로 자체로서 할 수 있는 것은 많지 않다.) 다운로드 및 설치 https://www.elastic.co/kr/downloads/elasticsearch 엘라스틱 서치 실행(데몬 띄우기) 다운로드 후 압축을 풀고, 터미널에서 아래와 같이 실행 bin/elasticsearch -d, -p 옵션이 있음 -d: 백그라운드로 실행 -p: 프로세스 ID를 파일로 저장. (start.sh, stop.sh 등 쉘스크립트 만들어 사용하면 편함) 실행중인지 확인하는 법 curl -X GET http://localhost:9200/ 검색 실습 아래 명령을 차례대로 터미널에.. 2019. 7. 19.