docker build -t es:test .
docker-compose up
Access to localhost:5601 by your favorite browser
-
Go "Machine Learning" from menu
-
Click "Import data" and select
KEN_ALL.CSV
-
Click "Override settings" and fix column name as below
- jis
- postcode_old
- postcode
- prefecture_kana
- city_kana
- town_area_kana
- prefecture
- city
- town_area
- is_one_town_by_multi_postcode
- is_need_small_area_address
- is_chome
- is_multi_town_by_one_postcode
- updated
- update_reason
-
Select "Advanced" and input index name as you want
-
Copy and paste each json content
-
Click "Import"
Dev Tools ease to write query. You can access the tool from menu > Management
https://qiita.com/satto_sann/items/0ccb1f28af8b3f103949
https://kumano-te.com/activities/test-elasticsearch-full-text-en-and-ja
https://www.elastic.co/guide/en/elasticsearch/plugins/current/analysis-kuromoji-analyzer.html