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
75
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
84
Dealing With Time Travelers in Analytics
xyu
0
70
Scaling WordPress Queries With Elasticsearch
xyu
1
13k
Scale Out Don't Scale Up
xyu
2
190
Understanding Language and Fixing WP Search
xyu
1
160
Jetpack Related Posts for Power Users
xyu
1
520
WP ❤️ Elasticsearch
xyu
1
350
Elasticsearch & 63 Million WordPress Sites
xyu
1
200
Cloud Powered WordPress for Everyone
xyu
0
97
Other Decks in Technology
See All in Technology
CI/CDがあたりまえの今の時代にAPIテスティングツールに求められていること / CI/CD Test Night #7
k1low
12
2.8k
AMLD 2024 - Build Your Own GPT
donlelef
1
260
バッチ処理のSLOをどう設計するか
rynsuke
7
550
OCI Data Integration技術情報 / ocidi_technical_jp
oracle4engineer
PRO
1
1.5k
オブジェクト指向宗教史
tanakahisateru
13
11k
Challenges - Open Farming Hackdays 2024
loleg
0
500
実務への応用例から考える 変更に強いオブジェクト指向設計 / 20240324-ooc2024
bengo4com
7
5k
継続的テストモデルを実現するためにスリーアミーゴスを用いた10Xでのシフトレフトの事例
nihonbuson
3
150
LLMプロダクト事業の立ち上げにおける挑戦
layerx
PRO
7
1.4k
オブジェクト指向CSSが叶えたかったことと、CSSのいま / The aims of Object-oriented CSS and the current state of CSS usage
shinkufencer
11
3.5k
AWS アーキテクチャクイズ
yuu26
2
700
技術広報として2023年度に頑張ったこと / What we did well in FY2023 as a DevRel
pauli
5
450
Featured
See All Featured
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
67
38k
Learning to Love Humans: Emotional Interface Design
aarron
266
39k
10 Git Anti Patterns You Should be Aware of
lemiorhan
644
57k
A Tale of Four Properties
chriscoyier
150
22k
The World Runs on Bad Software
bkeepers
PRO
60
6.6k
Statistics for Hackers
jakevdp
789
220k
Into the Great Unknown - MozCon
thekraken
10
830
Java REST API Framework Comparison - PWX 2021
mraible
PRO
18
6.8k
Debugging Ruby Performance
tmm1
68
11k
Building Adaptive Systems
keathley
29
1.8k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
19
1.9k
The Cult of Friendly URLs
andyhume
72
5.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