Elasticsearch 맛보기

초간단 맛보기

https://www.elastic.co

설치

Download and unzip

 

실행

Run bin/elasticsearch

 

설정

7.15.2[각주:1] elasticsearch.yml에 xpack.ml.enabled: false 추가

org.elasticsearch.ElasticsearchException: X-Pack is not supported and Machine Learning is not available for [windows-x86]; you can use the other X-Pack features (unsupported) by setting xpack.ml.enabled: false in elasticsearch.yml

 

확인

http://localhost:9200/

{
  "status" : 200,
  "name" : "Quicksilver",
  "version" : {
    "number" : "1.1.1",
    "build_hash" : "f1585f096d3f3985e73456debdc1a0745f512bbc",
    "build_timestamp" : "2014-04-16T14:27:12Z",
    "build_snapshot" : false,
    "lucene_version" : "4.7"
  },
  "tagline" : "You Know, for Search"
}

 

이걸로 끝!

 

하나 더 실행하면 9201로 실행됨.

 

- 1.5.2 버전에서는 JDK 1.7이 필요한데, 1.8을 권장함.

 

  1. 2021-12-07 [본문으로]