프로그래밍/검색
-
elasticsearch - shard 개수와 replica 개수 정하기프로그래밍/검색 2016. 8. 5. 21:11
엘라스틱 서치 권장 사항 저장용 https://www.elastic.co/guide/en/elasticsearch/guide/current/scale.html https://www.elastic.co/guide/en/elasticsearch/guide/current/shard-scale.html https://www.elastic.co/guide/en/elasticsearch/guide/current/overallocation.html PUT /my_index { "settings": { "number_of_shards": 2, "number_of_replicas": 0 } } This time, when we add a second node, Elasticsearch will automatically ..
-
elasticsearch 2.3 - server ip 주소에 Connection refused 에러프로그래밍/검색 2016. 8. 3. 23:33
localhost:port에는 접속이 되면서 ip address:port로는 접속이 되지 않는 이슈 발생 # curl real_IP_Address:9200curl: (7) Failed to connect to real_IP_Address port 9200: Connection refused# curl localhost:9200{ "name" : "Wrath", "cluster_name" : "****", "version" : { "number" : "2.3.2", "build_hash" : "****", "build_timestamp" : "2016-04-21T16:03:47Z", "build_snapshot" : false, "lucene_version" : "5.5.0" }, "tagline" : "..
-
elasticsearch 2.3 에 plugins 설치하기프로그래밍/검색 2016. 6. 26. 19:24
환경 : Ubuntu 14.04elasticsearch version: 2.3.2설치할 plugin : head, hq, kopf, 한국어 형태소 분석기 (은전한닢) elasticsearch 2.3을 신규 설치하여 plugin도 새로 설치해야 한다. 엘라스틱 검색이 2로 업그레이 되면서 아쉬운것은 bigdesk plugin을 사용 못한다는 것 ㅠㅠ 아쉬운 대로 hq와 kopf를 대신 설치하려고 한다. 일단 plugin 기본 설치 문법은 아래와 같다. // elastic core plugin sudo bin/plugin install [plugin_name] // community and non-core plugin sudo bin/plugin install [org]/[user|component]/[ve..