Skip to content

WatanabeToshimitsu/test-Elastic-search

Repository files navigation

README

Getting started

Build docker image

  docker build -t es:test .

Run containers

  docker-compose up

Access Kibana

Access to localhost:5601 by your favorite browser

Import data

  1. Go "Machine Learning" from menu

  2. Click "Import data" and select KEN_ALL.CSV

  3. 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
  1. Select "Advanced" and input index name as you want

  2. Copy and paste each json content

  3. Click "Import"

Use Dev Tools to execute query

Dev Tools ease to write query. You can access the tool from menu > Management

Reference

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

About

Elastic search をサクッと触るための奴

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published