'synonyms_path'에 해당되는 글 1건

  1. 2016.02.26 [Elasticsearch] synonyms_path 설정 정보

[Elasticsearch] synonyms_path 설정 정보

Elastic/Elasticsearch 2016. 2. 26. 14:30

synonym 기능을 사용하기 위해서 해당 사전 파일을 엔진에 위치 시켜야 하는데요.

관련해서 경로가 어떻게 되는지 궁금해 하시는 분들도 있을 것 같아 기록해 봅니다.


[원문 링크]


[원문 Snippet]

The above configures a synonym filter, with a path of analysis/synonym.txt (relative to the configlocation).
The 
synonym analyzer is then configured with the filter.
Additional settings are: 
ignore_case(defaults to false), and expand (defaults to true).


내용 보셔서 아시겠지만, 상대 경로 입니다.

elasticsearch 압축 푸시면 config 폴더 경로 아래 analysis 폴더 만들고 그 아래로 synonym.txt 파일이 위치해 있으면 됩니다.


: