Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Elasticsearch について
Search
Naoya Inada
May 30, 2016
Technology
0
1.1k
Elasticsearch について
第 4 回 Tokyo Otaku Mode 社内勉強会
Naoya Inada
May 30, 2016
Tweet
Share
More Decks by Naoya Inada
See All by Naoya Inada
FX システムトレードでウハウハ不労所得生活(予定)第 2 章/FX system trade for unearned income part 2
naoina
0
160
FX システムトレードでウハウハ不労所得生活(予定)/FX system trade for unearned income
naoina
0
1.2k
Other Decks in Technology
See All in Technology
Postman v10リリース後を振り返る / Looking back at Postman v10 after release
yokawasa
1
150
長期間TiDBを使ってきた話 @ 私たちはなぜNewSQLを使うのかTiDB選定5社が語る選定理由と活用LT / Experiences with TiDB Over Time
chibiegg
2
870
DevOpsメトリクスとアウトカムの接続にトライ!開発プロセスを通して計測できるメトリクスの活用方法
ham0215
2
230
Databricks:『生成AI World Cup』のご案内
databricksjapan
2
170
「スニダン」開発組織の構造に込めた意図 ~組織作りはパッションや政治ではない!~
rinchsan
3
510
テストプロセスで大事にしていること #jasstnano
makky_tyuyan
0
160
AOAI をきっかけに 社内の Azure 管理を見直した話
recruitengineers
PRO
1
230
Terraformあれやこれ/terraform-this-and-that
emiki
8
1.3k
現代CSSフレームワークの内部実装とその仕組み
poteboy
8
3.5k
ServiceNow Knowledge Learning Rise up
manarobot
0
200
元インフラエンジニアに成る / Human Resources to Human Relations
bobtani
4
890
Compose Compiler Metricsを使った実践的なコードレビュー
tomorrowkey
1
210
Featured
See All Featured
The Brand Is Dead. Long Live the Brand.
mthomps
49
28k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
30
6k
Pencils Down: Stop Designing & Start Developing
hursman
117
11k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
155
14k
Learning to Love Humans: Emotional Interface Design
aarron
267
39k
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
Ruby is Unlike a Banana
tanoku
96
10k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
2
1.3k
Being A Developer After 40
akosma
57
580k
Into the Great Unknown - MozCon
thekraken
10
990
Fantastic passwords and where to find them - at NoRuKo
philnash
37
2.5k
A Tale of Four Properties
chriscoyier
150
22k
Transcript
Elasticsearch について 第 4 回 Tokyo Otaku Mode 社内勉強会 2016-04-22
(Fri)
Elasticsearch とは
None
None
None
Elasticsearch の特徴 • オープンソースの全文検索エンジン • スキーマレス • スケールアウトが考慮されたアーキテクチャ • 70
億のデバイスで動く Java で作られている
全文検索エンジンとは
全文検索エンジンとは db.products.find({ description_en: /alpacasso/i }); ↓こういうのを高速に検索したり db.products.aggregate([ { $match: {
description_en: /alpacasso/i }, }, { $group: { _id: "$prices.max", count: { $sum: 1 } } } ]); ↓こういうのを高速に集計したりするやつ
スキーマレス
スキーマレス • Elasticsearch はよくスキーマレスと言われるが、本当は初回データ投入時にス キーマを推測してマッピングする • あるフィールドに文字列の “10” を入れると文字列のフィールドとしてスキーマをマッ ピング
• 数値と文字列を間違えて入れてしまうと検索やソートに影響が出る ◦ JavaScript あるある
スケールアウト
スケールアウト • Elasticsearch はスケールアウトを前提に設計されている • サーバーを立てるだけで自動でクラスタに参加したりできる
None
TOM では 今回の合宿で Cloudsearch から Elasticsearch に置き換えられます! 明日の成果発表をご期待下さい!