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
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
マネージャー版 "提案のレベル" を上げる
konifar
21
13k
8万デプロイ
iwamot
PRO
2
170
Oracle Database@Azure:サービス概要のご紹介
oracle4engineer
PRO
4
1.1k
聲の形にみるアクセシビリティ
tomokusaba
0
120
クラウド時代における一時権限取得
krrrr38
1
170
越境する組織づくり ─ 多様性を前提にしたチームビルディングとリードの実践知
kido_engineer
2
120
Security Diaries of an Open Source IAM
ahus1
0
200
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1.1k
LLM活用の壁を超える:リクルートR&Dの戦略と打ち手
recruitengineers
PRO
1
270
技術的負債の泥沼から組織を救う3つの転換点
nwiizo
8
2.9k
Evolution of Claude Code & How to use features
oikon48
1
450
Serverless Agent Architecture on Azure / serverless-agent-on-azure
miyake
1
160
Featured
See All Featured
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.4k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.4k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
430
Are puppies a ranking factor?
jonoalderson
1
3.1k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Ruling the World: When Life Gets Gamed
codingconduct
0
160
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.1k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.9k
Un-Boring Meetings
codingconduct
0
220
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.2k
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