Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
テスト駆動検索のススメ [第3回Elasticsearch勉強会]
Search
tadyjp
February 07, 2014
Programming
2.6k
9
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
テスト駆動検索のススメ [第3回Elasticsearch勉強会]
2014-02-07に開催された第3回ElasticSearch勉強会での発表スライド。
内容を一部修正しました。
株式会社じげん 多田雅斗@tady_jp
tadyjp
February 07, 2014
More Decks by tadyjp
See All by tadyjp
vue-onsenuiを教材に Vue2 migrationを 試してみる // migrate vue-onsenui to vue2
tadyjp
1
1.6k
「たった1行」を支える監視技術 at 2016/09/27 第一回スタートアップRails勉強会 / monitoring for "one line" service
tadyjp
2
420
経営者を巻き込む自動テストの広め方 [DevLove甲子園-技]
tadyjp
6
1.2k
Other Decks in Programming
See All in Programming
速く作れる。その次は、速く確かめられる開発へ 〜AIネイティブ開発を支える、Shift Down〜 / Can build fast. Next, moving to development where we can verify fast.
rkaga
8
5.3k
Workers Cache を知る
syumai
0
320
Verilogで学ぶCPU自作入門.pdf
uyuki234
7
3.9k
そのリトライ、死んだコネクションを使い回していませんか ── GoのHTTPクライアントとHTTP/2を実プロダクト障害から学び直す
myus4a
0
350
コードレビューのボトルネックを"する側"と"される側"の両面から解消する
yub0n
1
1.2k
Heart of Swift Concurrency
koher
0
1.1k
すこし踏み込む CancellationToken
htkym
2
1.5k
iOSDC2026登壇資料.pdf
riofujimon
0
200
GemmaをJevのように使ってみる / Use Gemma like Jev
kishida
4
450
Unity6 URPによる海底をテーマにしたVJシステムの解説 | Unity Shader 完全に理解した 勉強会
gam0022
0
230
App Storeの外へ──日本のiOSサイドローディング入門 for iOSDC Japan 2026
yuukiw00w
0
280
マイコン向けの軽量Ruby「PicoRuby」で各種デバイスを制御するネイティブアプリの実現手法
bash0c7
0
460
Featured
See All Featured
The Curious Case for Waylosing
cassininazir
1
550
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
3
4.3k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
690
AI: The stuff that nobody shows you
jnunemaker
PRO
10
1.1k
Automating Front-end Workflow
addyosmani
1369
210k
Building AI with AI
inesmontani
PRO
1
1.3k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
520
Context Engineering - Making Every Token Count
addyosmani
9
1.2k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
600
The Limits of Empathy - UXLibs8
cassininazir
1
690
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
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