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
テスト駆動検索のススメ [第3回Elasticsearch勉強会]
Search
tadyjp
February 07, 2014
Programming
9
2.5k
テスト駆動検索のススメ [第3回Elasticsearch勉強会]
2014-02-07に開催された第3回ElasticSearch勉強会での発表スライド。
内容を一部修正しました。
株式会社じげん 多田雅斗@tady_jp
tadyjp
February 07, 2014
Tweet
Share
More Decks by tadyjp
See All by tadyjp
vue-onsenuiを教材に Vue2 migrationを 試してみる // migrate vue-onsenui to vue2
tadyjp
1
1.4k
「たった1行」を支える監視技術 at 2016/09/27 第一回スタートアップRails勉強会 / monitoring for "one line" service
tadyjp
2
390
経営者を巻き込む自動テストの広め方 [DevLove甲子園-技]
tadyjp
6
1.1k
Other Decks in Programming
See All in Programming
Generative AI Use Cases JP (略称:GenU)奮闘記
hideg
1
300
最新TCAキャッチアップ
0si43
0
190
OSSで起業してもうすぐ10年 / Open Source Conference 2024 Shimane
furukawayasuto
0
110
flutterkaigi_2024.pdf
kyoheig3
0
150
CSC509 Lecture 13
javiergs
PRO
0
110
Enabling DevOps and Team Topologies Through Architecture: Architecting for Fast Flow
cer
PRO
0
340
AWS Lambdaから始まった Serverlessの「熱」とキャリアパス / It started with AWS Lambda Serverless “fever” and career path
seike460
PRO
1
260
ECS Service Connectのこれまでのアップデートと今後のRoadmapを見てみる
tkikuc
2
250
macOS でできる リアルタイム動画像処理
biacco42
9
2.4k
Figma Dev Modeで変わる!Flutterの開発体験
watanave
0
140
Pinia Colada が実現するスマートな非同期処理
naokihaba
4
230
GitHub Actionsのキャッシュと手を挙げることの大切さとそれに必要なこと
satoshi256kbyte
5
430
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
364
19k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.5k
Embracing the Ebb and Flow
colly
84
4.5k
How to Ace a Technical Interview
jacobian
276
23k
Code Review Best Practice
trishagee
64
17k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
42
9.2k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
A Modern Web Designer's Workflow
chriscoyier
693
190k
What's in a price? How to price your products and services
michaelherold
243
12k
Designing on Purpose - Digital PM Summit 2013
jponch
115
7k
KATA
mclloyd
29
14k
Facilitating Awesome Meetings
lara
50
6.1k
Transcript
ୈճ&MBTUJD4FBSDIษڧձ !UBEZ@KQ &MBTUJD4FBSDIྺ 4PMSྺϲ݄ https://github.com/tadyjp/test_driven_search
p ݕࡧΤϯδϯ p ͳʹ͔ͱ4PMSͱൺֱ͞ΕΔ p ՄࢹԽ p ,JCBOB-PH4UBTI'MVFOUEք۾ p ࠷ۙ.BSWFMͱ͔ग़·ͨ͠Ͷ https://github.com/tadyjp/test_driven_search
à ࠓճͷςʔϚ
https://github.com/tadyjp/test_driven_search ͕ࠩॖ·͍ͬͯΔʂ
p ʮΫϥυʯ࣌ʹϚονͨ͠εέʔϥ ϏϦςΟ p 4IBSEͷࣗಈஔ p 3FQMJDBͷࣗಈ෮ؼ p ϊʔυΛՃ͢Εউखʹz͑Δz p 1MVHJOίϛϡχςΟ p
׆ൃ p 3&45GVMMͳJOEFYઃఆ p *OEFYNBQQJOHใ͕HJUͰΔͱخ͍͠ https://github.com/tadyjp/test_driven_search
p ެࣜαΠτ p େମ͜͜ͰΓΔ p ॻ੶ p ֓ཁΛѲ͢Δͷʹศར p ͔͠͠ӳޠ
p 4UBDL0WFS'MPX p ͋ͳ͕ͨϋϚΔͱ͜ɼΈΜͳϋϚ͍ͬͯΔ p .BJMJOH-JTU p ݕࡧੑ͕ɽɽɽ p ΫΤϦΛௐࠪ p $ISPNFr4FOTF͕ศར https://github.com/tadyjp/test_driven_search
[http://www.elasticsearch.org/case-studies/] 3.6 million query / day 460 million documents 14
million users Million updates 4 million users 8 million codes & events 110 million events 20 million prices 400 million documents 30 million users 10+ million conetnts https://github.com/tadyjp/test_driven_search
https://github.com/tadyjp/test_driven_search શจݕࡧ ෳࡶͳݕࡧ ෳࡶͳιʔτ ϋΠϥΠτ ཁ 'BDFUݕࡧ : ฐࣾͷ99%SolrͰͰ͖͍ͯ·͢
࠷ѱɺ"QQ%#ଆͰସՄೳ p શจݕࡧ p ෳΧϥϜʹ·͕ͨͬͨݕࡧ p ߴͳείΞϦϯά p #PPTURVFSZ p
ϑΝηοτݕࡧ p 'BDFUTRVFSZ p ෳࡶͳάϧʔϐϯάػೳ p &MBTUJD4FBSDIʹ·ͩ͜ͷػೳ͕ͳ͍ʂʁ p /FTUػೳɺ1BSFOU$IJMEػೳͰҰ෦ସՄೳ p αδΣετػೳ p ͔ͯ͠͠ʁ p ΦʔτίϯϓϦʔτ p ϋΠϥΠτػೳ p "QQଆͰॲཧ p Ңܦݕࡧ p .ZTRMQPJOUܕͱ͔1PTUHSFTͱ͔ https://github.com/tadyjp/test_driven_search
p ։ൃऀʮݕࡧͬͯͳʹ͔༷͋Γ·͔͢ʁʯ p ઃܭऀʮΜʙɺී௨ʹશจݕࡧͰ͖Ε͍͍Αʯ p ։ൃऀʢී௨ͬͯɻɻʣ p ։ൃऀʮ͡Ό͋ɺςΩτʔʹΓ·͢Ͷʯ p ઃܭऀʮΑΖ͘͠ʙʯ
ʢʀʉдʉʣ ϋΠɺࢮϑϥά https://github.com/tadyjp/test_driven_search
p ςελʔʮ͜Εɺඞཁͳจॻ͕)JU͠ͳ͍Αʯ p ։ൃऀɹʮ͢Μ·ͤΜʯʢʉʔʉ ʎ p ςελʔʮ͜Εɺअຐͳจॻ͕ࠞ͟Γ͗͢͡Όͳ͍ʁʯ p ։ൃऀɹʮ͢Μ·ͤΜʯʋ ʔ@ʔ
ϊ p Ӧۀɹɹʮ͝ΊʔΜɻΫϥΠΞϯτ͔ΒͷϑΥʔϚοτมΘͬͨʯ p ઃܭऀɹʮ͠Όʔͳ͍ͳɻ ɹɹɹɹɹɹɹೲظ৳ͼ͍͍͔ͯΒ։ൃऀΑΖ͘͠ʂʯ p ։ൃऀɹʮ͑ͬʯ ʄϩʄ p σβΠφʮݕࡧϑΥʔϜʹΦʔτίϯϓϦʔτՃ͍ͨ͠ʯ p ։ൃऀɹʮͦΕૣ͘ݴͬͯཉ͔ͬͨ͠ͳ͊ʯ ʄʄʣ p ϚʔέɹʮෆཁͳϖʔδʹϦϯΫΛுͬͯ΄͘͠ͳ͍Αʯ p ։ൃऀɹʮͦΕૣ͘ݴͬͯཉ͔ͬͨ͠ͳ͊ʯᵇ ʉʔʉ ᵃ p ઃܭऀɹʮಉ͡ݕࡧ݅ͳΒ˛˛Λ˙˙ΑΓ্Ґʹग़ͯ͠ཉ͍͠ʯ p ։ൃऀɹʮͦΜͳ༷ฉ͍ͯͳ͍ʂ͢Μ·ͤΜʯ ϊшɾɻ https://github.com/tadyjp/test_driven_search
https://github.com/tadyjp/test_driven_search ͦΕɺ 3TQFDͰղܾͰ͖Δ͔
p ϨετϥϯݕࡧαʔϏεͱԾఆ p σʔληοτͱͯ͠ ʮMJWFEPPSάϧϝ%BUB4FUʯΛར༻ p αʔόʹ4JOBUSB SVCZ Λ͏ p ཁ݅ ௨ৗͷશจݕࡧʗ'BDFUݕࡧ #PPTUʹΑΔ༏ઌ͚ ΦʔτίϯϓϦʔτʗ͔ͯ͠͠ʁػೳ
https://github.com/tadyjp/test_driven_search
ݕࡧ ߜΓࠐΈ 'BDFUT ݅ग़Δ σʔλ %#͔Β &MBTUJD4FBSDI .Z42- *%ͷΈ
ҾͬுΔ https://github.com/tadyjp/test_driven_search
Φʔτ ίϯϓϦʔτ 4VHHFTU https://github.com/tadyjp/test_driven_search
දهΛ ؒҧ͑Δͱ… ʮ͔ͯ͠͠ʁʯ 4VHHFTU https://github.com/tadyjp/test_driven_search
https://github.com/tadyjp/test_driven_search "DUJWF3FDPSE FMBTUJDTFBSDISVCZ (FNΛར༻
ϨϓϦΧઃఆ 5PLFOJ[FS 5PLFO'JMUFS "OBMZ[FS 5PLFOJ[FS 5PLFO'*MUFST https://github.com/tadyjp/test_driven_search
&MBTUJD4FBSDIͷJEΛ %#ͷJEͱಉ͡ʹ͢Δ ݕࡧจࣈྻ جຊతʹܗଶૉղ https://github.com/tadyjp/test_driven_search ݕࡧ͠ͳ͍'JFME ͦͷ··อ࣋
https://github.com/tadyjp/test_driven_search ݕࡧͷϝΠϯ෦ ͭͷpFMEΛݕࡧର JE͚ͩฦ͢
ςετ༻JOEFY໊ PWFSSJEF ςετσʔλ ೖ https://github.com/tadyjp/test_driven_search
͍͔ͭ͘ͷςετ (v^ʔ°) Ϡολω https://github.com/tadyjp/test_driven_search
https://github.com/tadyjp/test_driven_search IJUTIJUT<>pFMETJE<> ͳKTPOߏ
ʮژʯͰݕࡧ (Ň´Д㱬)͏͎ŋŋŋŇ https://github.com/tadyjp/test_driven_search
https://github.com/tadyjp/test_driven_search ͜ΕΛ ॅॴΛܗଶૉͰ ղͯ͠Δ ͜͏͢Δ (v^ʔ°) Ϡολω
OBNFʹʮ৽॓ʯ͕ ೖ͍ͬͯΔํ͕ ઌʹग़͖ͯͯཉ͍͠ (Ň´Д㱬)͏͎ŋŋŋŇ https://github.com/tadyjp/test_driven_search
ʮOBNFʯΛഒ ͩʂ https://github.com/tadyjp/test_driven_search (v^ʔ°) Ϡολω
͜Μͳײ͡Ͱ ฦͬͯ͘Δ https://github.com/tadyjp/test_driven_search ʮQSFG@JEʯͰ 'BDFUݕࡧ (v^ʔ°) Ϡολω
͜Μͳײ͡Ͱ ฦͬͯ͘Δ https://github.com/tadyjp/test_driven_search (Ň´Д㱬)͏͎ŋŋŋŇ
ͳΜ͔ɺOHSBNͰ ղ͞ΕͯΔʂ $ISPNFr4FOTF Ͱ݁ՌΛݟͯΈΔͱ https://github.com/tadyjp/test_driven_search
.VMUJpFMEͳσʔλ ϐϦΦυͰΞΫηε https://github.com/tadyjp/test_driven_search ͜ΕΛ NVMUJpFMEUZQFͰ ҟͳΔ"OBMZ[FSΛద༻ ͜͏͢Δ (v^ʔ°) Ϡολω
ΦʔτίϯϓϦʔτ ݕࡧͱҟͳΔϦΫΤετ ʮϥʔʯͱೖྗதʹ ʮϥʔϝϯʯ͕ग़͖ͯͯཉ͍͠ https://github.com/tadyjp/test_driven_search
ΦʔτίϯϓϦʔτ ݕࡧͱҟͳΔϦΫΤετ ʮϥʔʯͱೖྗதʹ ʮϥʔϝϯʯ͕ग़͖ͯͯཉ͍͠ https://github.com/tadyjp/test_driven_search (Ň´Д㱬)͏͎ŋŋŋŇ ͳΜ͔ώϯτ͕
DPNQMFUJPOUZQFΛՃ 'JFME໊มΘΔ https://github.com/tadyjp/test_driven_search (v^ʔ°) Ϡολω
https://github.com/tadyjp/test_driven_search
https://github.com/tadyjp/test_driven_search
https://github.com/tadyjp/test_driven_search ͜Μͳײ͡ͰSVCZʹΑΔ ςετۦಈݕࡧ Λ͓ಧ͚͠·ͨ͠ɻ
https://github.com/tadyjp/test_driven_search 8FBSFIJSJOH%FWFMPQFST