LoginSignup
8
9

More than 5 years have passed since last update.

Rails4.2のプロジェクトで、elasticsearch を yosemite と heroku で使う 1

Last updated at Posted at 2015-03-26

日々のメモです。(拙い英語で書いてますorz...)

Install elasticsearch to Yosemite!

Yosemite

$ brew install elasticsearch
Gemfile
# Elasticsearch Client
gem 'elasticsearch-model'
gem 'elasticsearch-rails'
gem 'bonsai-elasticsearch-rails'
$ bundle install

Plugin

Japanese Character Adaptor

The Japanese (kuromoji) Analysis plugin

$ plugin install elasticsearch/elasticsearch-analysis-kuromoji/2.5.0

Elasticsearch monitor

A web front end for an Elasticsearch cluster

$ plugin --install mobz/elasticsearch-head

after installing, access to url below and check something on elasticsearch

http://localhost:9200/_plugin/head/

start

$ elasticsearch -f

then you can access url above and view screen like below.

Screen_Shot_2015-03-26_at_11_32_24.png

continued....

References

8
9
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
9