Last active
March 30, 2018 08:07
-
-
Save arc279/36535d8c2fa2dd3a429e4441cf58fb0d to your computer and use it in GitHub Desktop.
livedoor グルメの研究用データセット の中の ratings.csv から、Elasticsearchで簡単なアナライザを設定して、ユーザレビューを検索できるようにするところまで。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2.2' | |
services: | |
elasticsearch: | |
build: ./ | |
environment: | |
- cluster.name=dev-cluster | |
- node.name=dev | |
- bootstrap.memory_lock=true | |
- "ES_JAVA_OPTS=-Xms1024m -Xmx1024m" | |
ulimits: | |
memlock: | |
soft: -1 | |
hard: -1 | |
nofile: | |
soft: 65536 | |
hard: 65536 | |
volumes: | |
- ./volumes/esdata:/usr/share/elasticsearch/data | |
ports: | |
- 9200:9200 | |
- 9300:9300 | |
kibana: | |
image: docker.elastic.co/kibana/kibana:6.2.1 | |
links: | |
- elasticsearch:elasticsearch | |
ports: | |
- 5601:5601 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM docker.elastic.co/elasticsearch/elasticsearch:6.2.1 | |
LABEL maintainer "kuryu <revision279@gmail.com>" | |
RUN elasticsearch-plugin install analysis-icu | |
RUN elasticsearch-plugin install analysis-kuromoji | |
RUN elasticsearch-plugin install ingest-attachment |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment