elasticsearch
-
elasticsearch 7.3 설치하기프로그래밍/검색 2019. 9. 30. 21:52
elasticsearch 7.3 설치하기 이 포스팅에는 주기적으로 elasticsearch 설치하기 포스팅이 올라온다. 가끔씩 검색 엔진 사용할 일이 있는데 그때마자 버전이 몇 개씩이나 올라가 있어서 결국 새로 설치하기 때문이다;; 일단 7 버전의 주요 변화는 한국어 형태분석기가 내장되었다고 하면서 기존에 썼던 은전 한잎 플러그인이 더이상 호환이 안된다고 한다. 그럼 일단 다운로드 받아서 실행해보자. 버전별로 다운로드 받기 https://www.elastic.co/kr/downloads/past-releases 문서 : https://www.elastic.co/guide/en/elasticsearch/reference/7.3/targz.html wget "https://artifacts.elastic.c..
-
elasticsearch 색인 오류 : type":"illegal_argument_exception","reason":"unknown setting [index.mapping._doc.properties.building_type.type]프로그래밍/검색 2018. 12. 18. 21:58
elasticsearch 색인 오류 색인할 때 다음과 같은 에러가 발생해서 한참 삽질 했는데 mapping 파일에서 mappings 가 아니라 mapping이라 써서 그런 거였다 ㅠㅠ "error":{"root_cause":[{"type":"illegal_argument_exception","reason":"unknown setting [index.mapping._doc.properties.building_type.type] please check that any required plugins are installed, or check the breaking changes documentation for removed settings"}], .... 직접 매핑 파일을 작성 안하고 키바나에서 매핑을 복사해..
-
elasticsearch 6.2 mapping 하기프로그래밍/검색 2018. 11. 12. 01:44
참고: 날짜 타입 https://www.elastic.co/guide/en/elasticsearch/reference/current/date.htmlbulk 색인하기 https://www.elastic.co/guide/en/elasticsearch/guide/2.x/bulk.htmlindex 확인방법 https://www.elastic.co/guide/en/elasticsearch/reference/current/_exploring_your_data.html관련 포스팅 : http://yookeun.github.io/elasticsearch/2018/03/09/elastic-mapping/ elastic search 는 dynamic mapping 또는 explicit mapping 이 있다. dynam..