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
xyu
January 26, 2017
Technology
0
120
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
160
Dealing With Time Travelers in Analytics
xyu
0
110
Scaling WordPress Queries With Elasticsearch
xyu
1
13k
Scale Out Don't Scale Up
xyu
2
270
Understanding Language and Fixing WP Search
xyu
1
200
Jetpack Related Posts for Power Users
xyu
1
700
WP ❤️ Elasticsearch
xyu
1
440
Elasticsearch & 63 Million WordPress Sites
xyu
1
240
Cloud Powered WordPress for Everyone
xyu
0
170
Other Decks in Technology
See All in Technology
人工衛星のファームウェアをRustで書く理由
koba789
15
8.2k
【NoMapsTECH 2025】AI Edge Computing Workshop
akit37
0
220
DDD集約とサービスコンテキスト境界との関係性
pandayumi
3
290
なぜテストマネージャの視点が 必要なのか? 〜 一歩先へ進むために 〜
moritamasami
0
230
研究開発と製品開発、両利きのロボティクス
youtalk
1
530
Unlocking the Power of AI Agents with LINE Bot MCP Server
linedevth
0
110
Practical Agentic AI in Software Engineering
uzyn
0
110
未経験者・初心者に贈る!40分でわかるAndroidアプリ開発の今と大事なポイント
operando
5
730
新規プロダクトでプロトタイプから正式リリースまでNext.jsで開発したリアル
kawanoriku0
1
160
AIのグローバルトレンド2025 #scrummikawa / global ai trend
kyonmm
PRO
1
300
なぜスクラムはこうなったのか?歴史が教えてくれたこと/Shall we explore the roots of Scrum
sanogemaru
5
1.6k
普通のチームがスクラムを会得するたった一つの冴えたやり方 / the best way to scrum
okamototakuyasr2
0
100
Featured
See All Featured
The Power of CSS Pseudo Elements
geoffreycrofte
77
6k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Speed Design
sergeychernyshev
32
1.1k
Statistics for Hackers
jakevdp
799
220k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
How STYLIGHT went responsive
nonsquared
100
5.8k
Reflections from 52 weeks, 52 projects
jeffersonlam
352
21k
Building Adaptive Systems
keathley
43
2.7k
Building Better People: How to give real-time feedback that sticks.
wjessup
368
19k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.5k
It's Worth the Effort
3n
187
28k
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