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
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
490
Elasticsearch & 63 Million WordPress Sites
xyu
1
270
Cloud Powered WordPress for Everyone
xyu
0
200
Other Decks in Technology
See All in Technology
AIで政治は変わるのか? — 中高生と考えたAI時代の民主主義(東海高校サタデープログラム)
eitarosuda
0
370
ゼロをイチにする仕事が終わったあと
smasato
0
250
AI時代における最適なQA組織の作り方
ymty
3
350
AWS Blocks を触ってみた/first-tach-aws-blocks
fossamagna
2
140
AIに「使われる」時代のSaaS戦略 〜既存WebAPIのMCPサーバー化における開発ノウハウ〜
ekispert_api
0
280
BPaaSで進むAIオペレーションの現在地 AI実装が効く領域とスケーラビリティの選定と実装
kentarofujii
0
260
【FinOps】データドリブンな意思決定を目指して
z63d
3
590
Fabricをフル活用する AI Agent Hub -製造業特化AIエージェントの設計
iotcomjpadmin
0
190
「ビジネスがわかるエンジニア」とは何か?
ryooob
0
490
Agentic AI 時代のテスト手法: Kiro とはじめるプロパティベーステスト (AWS Summit Japan 2026 | DEV212)
ymhiroki
0
200
AIをフル活用してオンコール機能のプロトタイプを2日で作った話 / Building an AI-Powered On-Call Prototype in Just Two Days
nari_ex
0
170
ループエンジニアリングでE2Eテストを実践
noriyukitakei
0
240
Featured
See All Featured
Faster Mobile Websites
deanohume
310
32k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
630
Optimising Largest Contentful Paint
csswizardry
37
3.8k
Evolving SEO for Evolving Search Engines
ryanjones
0
230
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
55k
Technical Leadership for Architectural Decision Making
baasie
3
430
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.5k
Designing for Performance
lara
611
70k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
150
How to Ace a Technical Interview
jacobian
281
24k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
870
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
150
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