Elasticsearch
全文検索エンジン。
Elasticsearchの始め方 | Speaker Deck
SolrとElasticsearchを比べてみよう | SlideShare
Elasticsearch: The Definitive Guide | Elastic
elastic / elasticsearch | GitHub
セットアップ
zip解凍するだけで、そのまま動く。
Download Elasticsearch Free • Get Started Now | Elastic
データ構造
第6回 Elasticsearch 入門 基本コンセプトを理解する | Developers.IO
データ構造について – AWSで始めるElasticSearch(4) | Developers.IO
第2回 Elasticsearch 入門 データスキーマ設計のいろは | Developers.IO
Elasticsearch Nested Type vs Array Objects – Hello! Elasticsearch. | Medium
日本語解析
Elasticsearch 日本語で全文検索 その1 – Hello! Elasticsearch. | Medium
Elasticsearch 日本語で全文検索 その2 – Hello! Elasticsearch. | Medium
Elasticsearch 日本語で全文検索 その3 – Hello! Elasticsearch. | Medium
クエリ
Search APIs _ Elasticsearch Reference | Elastic
Query DSL _ Elasticsearch Reference | Elastic
集計
Aggregations _ Elasticsearch Reference | Elastic
スコアリング
Function Score Query _ Elasticsearch Reference | Elastic
エイリアス
Elasticsearch インデックス・エイリアス – Hello! Elasticsearch. | Medium
Elasticsearch のインデックスを無停止で再構築する | クックパッド開発者ブログ
プラグイン
コマンド一発でインストールできる。
Elasticsearch Plugins and Integrations | Elastic
ElasticSearch Head
クラスタ構成の確認に便利。
API実行は、KibanaのプラグインSense(後述)の方が使いやすい。
ElasticSearch Head | GitHub Pages
mobz / elasticsearch-head | GitHub
Japanese (kuromoji) Analysis Pluginedit
日本語形態素解析
Japanese (kuromoji) Analysis Plugin _ Elasticsearch Plugins and Integrations | Elastic
elasticsearch / plugins / analysis-kuromoji · elastic / elasticsearch | GitHub
Elastic Stack
Shield、Marvel、Graphなど、ライセンスが必要なものもある。
Powering Data Search, Log Analysis, Analytics | Elastic
Kibana
データ可視化プラットフォーム。
Kibana User Guide | Elastic
elastic / kibana | GitHub
導入
zip解凍するだけで、そのまま動く。
Download Kibana Free • Get Started Now | Elastic
プラグイン
コマンド一発でインストールできる。
Kibana Plugins _ Kibana User Guide | Elastic
Sense
API実行ノート。
SenseによるElasticsearchへの楽々API発行 | Developers.IO
Elasticsearch API 一覧 – Hello! Elasticsearch. | Medium
Sense Documentation | Elastic
elastic / sense| GitHub
Logstash
データ転送ツール。
Logstash Reference | Elastic
elastic / logstash | GitHub
導入
zip解凍するだけで、そのまま動く。
Download Logstash Free • Get Started Now | Elastic
プラグイン
コマンド一発でインストールできる。
Working with plugins _ Logstash Reference | Elastic
logstash-input-jdbc
MySQLなどのJDBC対応DBからデータ転送。
INSERT INTO LOGSTASH SELECT DATA FROM DATABASE | Elastic
Input plugins _ Logstash Reference | Elastic
ogstash-plugins / logstash-input-jdbc | GitHub
注意点
DELETEは検知できないので、同期する時は注意する。
完全な同期をしたい場合は、インデックス作りなおして、エイリアス張りかえてしまうのも一つの手か。
How to sync Mysql delete operation with logstash-input-jdbc? #145 | GitHub