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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
xyu
January 26, 2017
Technology
140
0
Share
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
220
Jetpack Related Posts for Power Users
xyu
1
810
WP ❤️ Elasticsearch
xyu
1
480
Elasticsearch & 63 Million WordPress Sites
xyu
1
260
Cloud Powered WordPress for Everyone
xyu
0
200
Other Decks in Technology
See All in Technology
シンデレラなんかになりたくない!ガラスの靴が割れた時代にどう歩く?
nomizone
0
200
AI時代の私の技術インプットとアウトプット術
tonkotsuboy_com
12
6.5k
情シスがMCP環境導入時に打ちのめされる認可の崖
oidfj
0
460
責任あるソフトウェアエンジニアリングの紹介4章・5章 / RSE_Ch4-5
ido_kara_deru
0
340
AI時代に改めて考える、ドメイン駆動設計 - モデリングが「AIへの共通言語」になる
littlehands
8
2.4k
テストコードのないプロジェクトにテストを根付かせる
tttol
0
170
TypeScript の型で副作用の実行順序を制御する
yanaemon
2
210
Kiro CLI v2.0.0がやってきた!
kentapapa
0
160
ルール・ロール・ツールを創る / Creating Rules, Roles and Tools
ks91
PRO
0
170
layerx-fde-practices
cipepser
6
2.7k
個人AIからチームAIへ:開発における品質と生産性の再設計
moongift
PRO
0
120
LLM時代のリファクタリング戦略_AIエージェントによる段階的・安全なTS移行方法
play_inc
0
190
Featured
See All Featured
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.8k
A Modern Web Designer's Workflow
chriscoyier
698
190k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
3.1k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
360
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.7k
What's in a price? How to price your products and services
michaelherold
247
13k
Navigating Weather and Climate Data
rabernat
0
200
So, you think you're a good person
axbom
PRO
2
2k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
How Software Deployment tools have changed in the past 20 years
geshan
0
34k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.5k
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