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
GREEにおける全文検索の歴史
Search
Nobutoshi Ogata
March 26, 2013
Technology
180
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
GREEにおける全文検索の歴史
Nobutoshi Ogata
March 26, 2013
Transcript
28 slides
GREEʹ͓͚Δ શจݕࡧͷྺ࢙ GREE Inc. Infrastructure Platform Development Nobutoshi Ogata (@nobu666)
about me • @nobu666 • ย۱Ͱ͘͢Ϳ͍ͬͯ·͢ • ೣͱΠεΩʔͱϫΠϯ
GREEͷݕࡧ
ݕࡧͷྺ࢙ (1) • Senna • 2007ͱ͔ͦͷลͷ…? • ҆ఆՔಇ͠ͳ͔ͬͨ
ݕࡧͷྺ࢙ (1) • Tritonn • 2009͘Β͍·Ͱ • σʔλϑΝΠϧ͕յΕΔ • ͬͺΓ҆ఆ͠ͳ͍
• MySQLͷόʔδϣϯ͍͋͛ͨ
ݕࡧͷྺ࢙ (3) • Lucene • 2012ॳ಄·Ͱ • खಈindex optimizeͱͷઓ͍
ݕࡧͷྺ࢙ (4) • Solr • ΠϚίί • 2012ॳ಄͔Β
SolrԽͷԸܙ • ΄΅ϝϯςφϯεϑϦʔ • SPoFϑϦʔ • શମతͳݕࡧ্
Lucene͔ΒSolr3.6
·ͣΔ͜ͱ
·ͣ͜ΕΛങ͏Μͩ!!
͍ͭങ͏͔?
SolrԽͷલఏ݅ • ଞϓϩμΫτӨڹΛग़͞ͳ͍ • ϑϩϯτΤϯυ͔Βͷݺͼग़͠ ޓੑΛҡ࣋͢Δ • Ease of maintenance
ޙํޓ • HTTP GETΛड͚ͯXMLΛฦ٫ • Lucene+TomcatͰड͚͚͍ͯͨ ΫΤϦΛSolr͚ʹม • Solrͷฦ٫͢ΔXMLΛΧελϚΠζ •
IndexingґཔͷI/Fม͑ͳ͍
Ease of maintenance • ͯ͢ͷαʔόʔΛԽ • αʔϏεӨڹͳ͠ʹindex optimize
←WebΞϓϦ͕Queueొ ←indexer͕Masterొ ɹ͜͜Ͱఆظతʹoptimize ←ΫΤϦͷडɺฦ٫ ←ΫΤϦͱϨεϙϯεͷม ɹ ΫϥΠΞϯτ͔ΒͷΫΤϦड query translation
؆୯ʹઆ໌ • ݱঢ়7schema • αʔόʔ40ͪΐͬͱ • ϚϧνίΞ͑ͬͱ٧ΊΒΕΔ • શ෦Ͱ250qps+ ͘Β͍
None
None
ෛՙͷ • େຌ0:00ۙʹෛՙͷϐʔΫ • schemaʹΑͬͯ΄ͱΜͲ ΘΕ͍ͯͳ͍ • Range Query͍·͘ΓͳͷͰ slave͕Ұ൪ॏ͘ͳΔ
࡞Γ͜Έ͕ඞཁͩͬͨ෦(1) • Indexer • Masterࢄͯ͠Indexing • ϚϧνεϨουͰޮతʹ
࡞Γ͜Έ͕ඞཁͩͬͨ෦(2) • Query Translation • ෛͷҨ࢈ͷܧঝ • SchemaຖͷಛघͳϑΟϧλ༩ • ੨গอޢͳΜͪΌΒ͚
• ਓྗࢹͱͷ݉Ͷ߹͍ • ࢹ • Replication, SSH, Ping, Solr Ping
ࠓͰ໘ͳ͜ͱ • εΩʔϚมߋΛແఀࢭͰΔͷ ͍͢͝ΊΜͲ͍ • SlaveΛMasterʹঢ֨͢ΔɺͳͲͷ ૢ࡞खಈͰઃఆϑΝΠϧΛ͍͡Δ
ݕࡧͷ͜Ε͔Β
վળ͍ͨ͠ͱ͜ • ਫ਼ • ຊޠҎ֎ͰΘΕΔͷͰ ࣙॻΛ͏&ϝϯς͢Δͷ͕ ࣄ্࣮͍͠ • ͞ΒͳΔࣗಈԽ
ࢼ͍ͨ͜͠ͱ • AmazonͷαʔϏε͡Όͳ͍͜ͱͰ ͓ͳ͡ΈͷElasticSearch • Solr Cloud • ͜Εͬͱલʹ͋ͬͨΒԶ ͜ΜͳʹؤுΒͳͯ͘ྑ͔ͬͨઆ
Any Questions?
Join us! http://jobs.gree.net/
More Decks by Nobutoshi Ogata
See All by Nobutoshi Ogata
Datadogセミナー 2025/3/13 Datadog On-Callの活用事例のご紹介
nobu666
0
550
サーバサイドの技術スタック・アーキテクチャ総ざらい - SmartNews Tech Night in Fukuoka Vol.1
nobu666
1
17k
SmartNews x PLAID - Cost cut and AWS Enterprise Support
nobu666
0
340
Why Slack?
nobu666
0
360
A Complete Work of SmartNews's SRE
nobu666
2
3.4k
SRE at SmartNews
nobu666
0
8.3k
SmartNews の最近の取り組みについて
nobu666
4
3.6k
Introducing in-hourse PaaS
nobu666
1
360
Monitoring of SmartNews
nobu666
0
210
Other Decks in Technology
See All in Technology
Active Directory と Entra ID のむむむな関係
murachiakira
PRO
4
1.8k
Frontier Teams — Amazon は AI で「開発のやり方」をどう変えたのか
kmotohas
0
150
Building Audio Plugin Ecosystem for Android in 2026
atsushieno
2
170
【Oracle AI SPOTLIGHT ウェビナー】【特別開催:日本語で解説!】Oracle AI World 2026 最新情報フィードバック
oracle4engineer
PRO
1
140
Kiro IDE 入門 (画面の各部から、頼み方、任せ方、戻し方まで) | 目指せ Kiro マスター 02
inariku
PRO
4
210
大江戸Ruby会議でデータベース クライアントの話をするのは 間違っているだろうか
yahonda
1
120
Sizing, Benchmarking and Performance Tuning Apache Flink Clusters
rmetzger
0
150
Intro to Kiro (One agent, every surface) | Kiro: Zero to Hero 01
inariku
PRO
2
110
「いつか使う」の「いつか」は来ない 〜AI駆動開発における「作らない」判断について〜
ikki0006
0
200
「AIチャットからもできないの?」と言われたら ~業務アプリをMCP対応するときの認証・認可の勘所
oidfj
0
290
AWSを利用する上で知っておきたい名前解決の話 2026
nagisa53
5
3.4k
Ebitengine製iOSアプリ公開ボタンを押す会
eiei114
0
120
Featured
See All Featured
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
280
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
320
Embracing the Ebb and Flow
colly
88
5.2k
ラッコキーワード サービス紹介資料
rakko
5
5.8M
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Exploring anti-patterns in Rails
aemeredith
4
560
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
550
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
600
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
620
Digital Ethics as a Driver of Design Innovation
axbom
PRO
2
520
Highjacked: Video Game Concept Design
rkendrick25
PRO
2
560
Tell your own story through comics
letsgokoyo
1
1.1k