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
カウルにおけるElasiticsearchの導入と実例
Search
Hiroki Matsue
November 25, 2016
Technology
0
850
カウルにおけるElasiticsearchの導入と実例
「不動産テック勉強会#4」での発表資料です。
https://itandi.connpass.com/event/43680/
Hiroki Matsue
November 25, 2016
Tweet
Share
More Decks by Hiroki Matsue
See All by Hiroki Matsue
Getting Screenshots Automatically in Flutter
matsue
2
470
Write tests for Provider
matsue
4
780
Optimize Flutter Workflow on Bitrise
matsue
2
1.2k
ややcomplexなBLoCへの対応
matsue
2
760
Flutterアプリの難読化とエラーレポート(iOS)
matsue
2
1.9k
いまさらだけど「良い通知」について考えてみた
matsue
4
11k
リテンション率を2倍にするための2つの視点
matsue
0
3.5k
リソースを効率的に使うためのバックログ活用事例
matsue
1
460
ローディング時のより良いUIの実装
matsue
2
1.9k
Other Decks in Technology
See All in Technology
「隙間家具OSS」に至る道/Fujiwara Tech Conference 2025
fujiwara3
6
6.3k
東京Ruby会議12 Ruby と Rust と私 / Tokyo RubyKaigi 12 Ruby, Rust and me
eagletmt
3
850
[IBM TechXchange Dojo]Watson Discoveryとwatsonx.aiでRAGを実現!座学①
siyuanzh09
0
110
Godot Engineについて調べてみた
unsoluble_sugar
0
360
RubyでKubernetesプログラミング
sat
PRO
4
150
Kotlin Multiplatformのポテンシャル
recruitengineers
PRO
2
150
comilioとCloudflare、そして未来へと向けて
oliver_diary
6
430
.NET AspireでAzure Functionsやクラウドリソースを統合する
tsubakimoto_s
0
180
Bring Your Own Container: When Containers Turn the Key to EDR Bypass/byoc-avtokyo2024
tkmru
0
840
re:Invent2024 KeynoteのAmazon Q Developer考察
yusukeshimizu
1
130
新しいスケーリング則と学習理論
taiji_suzuki
10
3.8k
iPadOS18でフローティングタブバーを解除してみた
sansantech
PRO
1
120
Featured
See All Featured
How GitHub (no longer) Works
holman
312
140k
For a Future-Friendly Web
brad_frost
176
9.5k
The Pragmatic Product Professional
lauravandoore
32
6.4k
Keith and Marios Guide to Fast Websites
keithpitt
410
22k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
120k
Building Applications with DynamoDB
mza
93
6.2k
The Cult of Friendly URLs
andyhume
78
6.1k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
27
1.5k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
YesSQL, Process and Tooling at Scale
rocio
170
14k
Raft: Consensus for Rubyists
vanstee
137
6.7k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Transcript
Χϧʹ͓͚Δ Elasiticsearchͷಋೖͱ࣮ྫ Hiroki Matsue גࣜձࣾ Housmart CIO Nov 25, 2016
ෆಈ࢈ςοΫษڧձ#4
• @macs_6 • Ruby / iOS / Scrum • ࠷ۙͷΈ:
KarabinerͰEmacsΩʔϚοϓͰ ͖ͳ͍͜ͱ
None
• 97%ͷ෦Λཏ(౦ژ23۠ɾԣɾਆಸ) • औҾࣄྫਪఆՁ֨Ͱదਖ਼Ձ͕͔֨Δ • հखྉ3%͕࠷େແྉ தݹϚϯγϣϯചങઐͷwebෆಈ࢈
ΧϧͰಈ͘ Elasticsearchͷ
ಋೖͷഎܠ • ϢʔβͷͨΊʹݕࡧΛͬͱ͍͍ͨ͘͢͠ • ࣅͨ݅ݟ͚͍ͭͨ͘͢͠ • ϨεϙϯεΛ͍ͨ͘͠
ݕࡧΫΤϦ
࣮ݱͨ͜͠ͱɾ͍ͨ͜͠ͱ • Ϛϯγϣϯݕࡧ͢ΔࡍͷΩʔϫʔυΛαδΣετ • ʮܘXkmҎͷϚϯγϣϯʯͷऔಘ • 89.8ms => 23.4ms •
Ϛϯγϣϯݕࡧ(Ҡߦத) • ࣅͨϚϯγϣϯͷϨίϝϯυ(͜Ε͔Β)
Ϛϯγϣϯ໊αδΣετͷ
ߏ CloudFront S3 ELB Front (EC2) RDS Elasticsearch (EC2) API
(EC2)
Elasticsearchʹ ೖΕ͍ͯΔσʔλɾ༻్ • σʔλ • Ϛϯγϣϯͷ౩ͷϚελσʔλ • ༻్ • ݕࡧϫʔυͷαδΣετ
• ۙྡͷϚϯγϣϯҰཡͷऔಘ
͠͞/ • ͠͞ • ຊޠ • Ұൠࣙॻʹೖͬͯͳ͍୯ޠ(ϒϥϯυ໊etc) • •
ຊޠಛ༗ͷઃఆͷ࡞ΓࠐΈ • ରσʔλΛԼॲཧ
https://medium.com/hello-elasticsearch/elasticsearch-91c9f22c663a
Char Filter normalize: { type: 'icu_normalizer', name: 'nfkc', mode: 'compose'
} ʮ͔ʯ+ʮʃʯˠʮ͕ʯ ʮὦʯˠʮηϯνʯ
Ωʔϫʔυೖྗத༻ͷFilter ... # Πϯϙʔτ࣌ 'lowercase', 'trim', 'engram' ... # ೖྗ࣌
'lowercase', 'trim' ...
Ωʔϫʔυ֬ఆ༻ͷFilter ... # Πϯϙʔτ࣌ 'lowercase', 'trim', 'readingform_neologd_romaji', 'asciifolding', ‘engram' ...
# ೖྗ࣌ 'lowercase', ‘trim’, 'readingform_neologd_romaji', 'asciifolding' ...
େ·͔ͳྲྀΕ • খจࣈԽ • ݴ༿લޙͷۭനจࣈΛআ • ͍จࣈͷ୯ޠΛআ֎ • ࣈΛϩʔϚࣈʹม •
ΞϧϑΝϕοτมʢhokkaidō → hokkaidoʣ ࢀߟ: https://medium.com/hello-elasticsearch/elasticsearch-ΩʔϫʔυαδΣετຊޠͷͨΊͷઃܭ-352a230030dd
ΠϯσοΫεͷલॲཧ ྫ͑ʰຊώϧζϨδσϯεʱΛ… • ʮຊώϧζϨδσϯεʯ • ʮຊʯʮώϧζʯʮϨδσϯεʯ • ʮຊʯ • ʮώϧζʯ
• ʮϨδσϯεʯ • ʮຊʯʮώϧζʯ • ʮώϧζʯʮϨδσϯεʯ ҙຯͷ͋Δසग़ޠ͕ αδΣετ͞ΕΔ • ໊ɾӺ໊ • ϒϥϯυ໊
ࠓޙΓ͍ͨ͜ͱ • طଘݕࡧͷஔ͖͑(ΫΤϦվमɾࣙॻ֦ॆ) • Ϩίϝϯυػೳͷఏڙ • PercolatorʹΑΔ৽ண௨ • ӡ༻ڧԽ(HAߏɾΠϯϙʔτपΓͷઃܭ) •
etc..
ٕज़ࢿͷ࣌ؒͮ͘Γ http://techblog.housmart.co.jp/2016/03/14/dev_cycle/ ͍͍͢͢ਫ༵
We are hiring! ϋεϚʔτ@wantedly