반응형

ElasticSerarch 6

Elasticsearch Delete Index ( RestHighLevelClient , TransportClient)

Elasticsearch 인덱스 제거 테스트 환경 : Elasticsearch 6.1.1 , rest-high-level-client 6.4.3 (maven) case-1 ( RestHighLevelClient ) RestHighLevelClient client = new RestHighLevelClient( RestClient.builder(new HttpHost("localhost",9200,"http"))); try { DeleteIndexResponse deleteIndexResponse = client.indices().delete(new DeleteIndexRequest(INDEX_STRING)); client.close(); } catch (IOException e) { // TODO Aut..

ElasticSerarch 2019.05.21

Create Elasticsearch Index using plugin

plugin을 사용하여 ElasticSearch Index 생성 테스트환경 Cluster 구성 : 1 node(single node / macOS / LocalServer) elasticSearch : elasticSearch 6.1.1 Plugin_tools : ElasticSearch_Head / Elasticsearch_hq 1. Elasitc Hq ElasticSearch_HQ를 사용하여 Index 생성 1.1 ElasticHQ 접속 http://localhost:5000 1.2 Indices -> Create Index 화면에서 Index 생성 Name : test_index Shard : 1 Replication : 1 2. elasticsearch-head ElasticSearch_head를..

ElasticSerarch 2019.05.10

[mac] elasticsearch HQ 설치 (웹 모니터링 툴)

시작. elasticsearch HQ 라는 elasticsearch 모니터링 툴? 을 설치 하겠음 아래 이미지는 공식 깃 링크 화면임 설치하면 저런 화면을 볼 수 있다. 1. 준비사항 ( Python3 설치 ) 설치 전 필요사항으로 python3.4 이상이 필요함 ( 아래 링크를 참고하여 설치 ) windows : https://angel-jinsu.tistory.com/3 mac : https://angel-jinsu.tistory.com/11 [mac] Python3 설치 mac OS Mojave (Version 10.14.4) 해당 버전 기준으로 Python2 버전은 OS 설치시 자동으로 설치됩니다. * 추가로 설정을 해주지 않았으므로, 당연히 PYHTON_HOME은 설정되어있지않습니다. * pyt..

ElasticSerarch 2019.05.03

[mac] ElasticSearch 설치

시작. 공식홈페이지에서 elasticsearch 다운로드 클릭후 tar 설치 ( 테스트를 위하여 구버전인 6.1.1 버전을 설치하였음) 링크 : https://www.elastic.co/kr/downloads/past-releases/elasticsearch-6-1-1 다운받은 tar 파일을 적당한 경로로 이동 후/ 압축 해제 tar xvzf elasticsearch-6.1.1.jar 실행 방법 : [mac] 압축 해제 후 bin 디렉토리의 elasticsearch 파일을 실행 /설치경로/elasticsearch-6.1.1/bin/elasticsearch [windows] 압축 해제 후 터미널에서 bin 디렉토리의 elasticsearch.bat 파일을 실행 (cmd 화면에서 명령어 사용) /설치경로/e..

ElasticSerarch 2019.05.03
반응형