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
Improving Search With One Weird Trick
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
xyu
January 26, 2017
Technology
0
140
Improving Search With One Weird Trick
xyu
January 26, 2017
Tweet
Share
More Decks by xyu
See All by xyu
Better Performance & Uptime Through Async
xyu
0
180
Dealing With Time Travelers in Analytics
xyu
0
130
Scaling WordPress Queries With Elasticsearch
xyu
1
13k
Scale Out Don't Scale Up
xyu
2
290
Understanding Language and Fixing WP Search
xyu
1
220
Jetpack Related Posts for Power Users
xyu
1
800
WP ❤️ Elasticsearch
xyu
1
470
Elasticsearch & 63 Million WordPress Sites
xyu
1
260
Cloud Powered WordPress for Everyone
xyu
0
180
Other Decks in Technology
See All in Technology
Data Hubグループ 紹介資料
sansan33
PRO
0
2.8k
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
6
72k
類似画像検索モデルの開発ノウハウ
lycorptech_jp
PRO
4
990
Oracle Database@Google Cloud:サービス概要のご紹介
oracle4engineer
PRO
5
1.1k
男(監査)はつらいよ - Policy as CodeからAIエージェントへ
ken5scal
5
770
Introduction to Bill One Development Engineer
sansan33
PRO
0
380
LLM のプロダクト導入における開発の裏側と技術的挑戦
recruitengineers
PRO
1
120
Claude Codeが爆速進化してプラグイン追従がつらいので半自動化した話 ver.2
rfdnxbro
0
400
Kiro のクレジットを使い切る!
otanikohei2023
0
120
自動テストが巻き起こした開発プロセス・チームの変化 / Impact of Automated Testing on Development Cycles and Team Dynamics
codmoninc
2
1.2k
「ストレッチゾーンに挑戦し続ける」ことって難しくないですか? メンバーの持続的成長を支えるEMの環境設計
sansantech
PRO
3
360
聲の形にみるアクセシビリティ
tomokusaba
0
120
Featured
See All Featured
How to make the Groovebox
asonas
2
2k
Typedesign – Prime Four
hannesfritz
42
3k
Docker and Python
trallard
47
3.8k
The Cult of Friendly URLs
andyhume
79
6.8k
Exploring anti-patterns in Rails
aemeredith
2
280
Amusing Abliteration
ianozsvald
0
120
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
99
What's in a price? How to price your products and services
michaelherold
247
13k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.3k
Discover your Explorer Soul
emna__ayadi
2
1.1k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
180
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
110
Transcript
Xiao Yu / Automattic xyu.io Improving Search With One Weird
Trick Elasticsearch Meetup 2017
WordPress.com • 22.4 billion views • 73.9 million posts •
49.0 million comments
WordPress.com + Elasticsearch • 22.4 billion views • 73.9 million
posts • 49.0 million comments • 16.2 TB primary shards • 4.4 billion docs • 1.3 billion queries (+0.5 billion langdetect)
None
Recommending Content Globally
None
It’s a hackathon, so…
None
None
None
Fake it 'til you make it
None
None
None
None
None
GET /_search?routing= ${USER}${N*DAY}, ${USER}${N*DAY+1}, ${USER}${N*DAY+2}, ${USER}${N*DAY+3},… { “query”:{…} }
S1 S2 S3 S4 S5 S6 S7 S8 S9 S10
S11 S12 S13 S14 S15 S16 S17 S18 S19 S20 Day 0 Day 1 Day 2 Day 3 Day 4 Day 5 Day 6 Day 7 Day 8 Day 9
60 6 ~18 ~33% Shards / Index Skip Multiple (10
day cycle) Shard Batch (~30% load) Fresh Content / Day
One Weird Trick S1 S2 S3 S4 S5 S6 S7
S8 S9 S10 S11 S12 S13 S14 S15 S16 S17 S18 S19 S20 Day 0 Day 1 Day 2 Day 3 Day 4 Day 5 Day 6 Day 7 Day 8 Day 9
automattic.com/work-with-us/search-wrangler/
Xiao Yu / Automattic xyu.io Thanks! Elasticsearch Meetup 2017