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
110
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
150
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
680
WP ❤️ Elasticsearch
xyu
1
430
Elasticsearch & 63 Million WordPress Sites
xyu
1
240
Cloud Powered WordPress for Everyone
xyu
0
160
Other Decks in Technology
See All in Technology
mrubyと micro-ROSが繋ぐロボットの世界
kishima
2
230
Javaで作る RAGを活用した Q&Aアプリケーション
recruitengineers
PRO
1
110
Welcome to the LLM Club
koic
0
170
UIテスト自動化サポート- Testbed for XCUIAutomation practice
notoroid
0
130
Node-REDのFunctionノードでMCPサーバーの実装を試してみた / Node-RED × MCP 勉強会 vol.1
you
PRO
0
110
2025-06-26_Lightning_Talk_for_Lightning_Talks
_hashimo2
2
100
Oracle Audit Vault and Database Firewall 20 概要
oracle4engineer
PRO
3
1.7k
Node-RED × MCP 勉強会 vol.1
1ftseabass
PRO
0
140
「Chatwork」の認証基盤の移行とログ活用によるプロダクト改善
kubell_hr
1
150
A2Aのクライアントを自作する
rynsuke
1
170
How Community Opened Global Doors
hiroramos4
PRO
1
120
Yamla: Rustでつくるリアルタイム性を追求した機械学習基盤 / Yamla: A Rust-Based Machine Learning Platform Pursuing Real-Time Capabilities
lycorptech_jp
PRO
2
110
Featured
See All Featured
Building a Scalable Design System with Sketch
lauravandoore
462
33k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.5k
Statistics for Hackers
jakevdp
799
220k
Building a Modern Day E-commerce SEO Strategy
aleyda
42
7.3k
Bash Introduction
62gerente
614
210k
Practical Orchestrator
shlominoach
188
11k
Designing for humans not robots
tammielis
253
25k
Optimising Largest Contentful Paint
csswizardry
37
3.3k
Unsuck your backbone
ammeep
671
58k
Visualization
eitanlees
146
16k
The Straight Up "How To Draw Better" Workshop
denniskardys
234
140k
Building Adaptive Systems
keathley
43
2.6k
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