Umi and Satomi

シーズー犬うみと飼い主Satomiが楽しく生活してみます

Using Elasticsearch on Yosemite and Heroku at Rails4.2 Project

Install elasticsearch to Yosemite!

http://siren.solutions/wp-content/uploads/2014/07/elasticsearch.png

Yosemite

$ brew install elasticsearch
# 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