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
150
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Improving Search With One Weird Trick
xyu
January 26, 2017
More Decks by xyu
See All by xyu
Better Performance & Uptime Through Async
xyu
0
200
Dealing With Time Travelers in Analytics
xyu
0
140
Scaling WordPress Queries With Elasticsearch
xyu
1
13k
Scale Out Don't Scale Up
xyu
2
300
Understanding Language and Fixing WP Search
xyu
1
230
Jetpack Related Posts for Power Users
xyu
1
810
WP ❤️ Elasticsearch
xyu
1
480
Elasticsearch & 63 Million WordPress Sites
xyu
1
270
Cloud Powered WordPress for Everyone
xyu
0
200
Other Decks in Technology
See All in Technology
自宅LLMの話
jacopen
1
310
Building applications in the Gemini API family.
line_developers_tw
PRO
0
3k
なぜ Platform Engineering の土台に Kubernetes を選ぶのか
r4ynode
2
590
Claude Codeをどのように キャッチアップしているか
oikon48
9
4.9k
Microsoft Build Keynoteふりかえり
tomokusaba
0
120
Agent Skills設計で柔軟性と硬さのバランスが難しい話
nassy20
0
120
Djangoユーザが知っ得なPostgreSQL機能 - 設計の選択肢を増やす / Djang-use-PostgreSQL
soudai
PRO
1
230
LLMにもCAP定理があるという話
harukasakihara
0
300
AAIFに入ってみた ~内から見えるコミュニティ動向~
sato4
0
160
Snowflakeと仲良くなる第一歩
coco_se
4
430
EventBridge Connection
_kensh
5
690
Amazon Bedrock AgentCore ワークショップ JAWS UG TOHOKU / amazon-bedrock-agentcore-workshop-jawsug-tohoku-2026
gawa
9
700
Featured
See All Featured
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
160
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
390
Making Projects Easy
brettharned
120
6.7k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
62
54k
Discover your Explorer Soul
emna__ayadi
2
1.1k
For a Future-Friendly Web
brad_frost
183
10k
The Curious Case for Waylosing
cassininazir
1
380
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
Building AI with AI
inesmontani
PRO
1
1.1k
AI: The stuff that nobody shows you
jnunemaker
PRO
8
710
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