Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Meilisearch 簡介
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
johnroyer
September 28, 2024
Technology
880
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Meilisearch 簡介
johnroyer
September 28, 2024
More Decks by johnroyer
See All by johnroyer
使用 Meilisearch 建立新聞搜尋工具
johnroyer
0
540
單元測試經驗談
johnroyer
0
900
Introduction to CodeIgniter
johnroyer
2
190
MSN Users Clustering
johnroyer
0
62
Other Decks in Technology
See All in Technology
Claude起点の仕様駆動開発
tanakaseiya
0
230
PQC移行の今 -- IETF からみた現在地
satokan
4
700
[Kiro Meetup #7] Kiro Crew Dive Deep
konippi
0
430
1人アドミンな私はAWSアカウント申請をSlackで完結したい!
ysuzuki
0
100
セルフサービスのオブザーバビリティ基盤をOpenTelemetryで作る / Building a Self-Service Observability Platform with OpenTelemetry
ymotongpoo
3
490
ログラスのマルチプロダクトを 支える認証基盤 〜テナントごとに異なる統制とどう向き合うか〜
dada4386
3
250
KanaAI
shreyas1009
0
130
Antigravity SDK for the Java Developer
glaforge
0
240
Argo CDとAtlantisで実現するインフラ管理のセルフサービス化──小規模SREチームで支えるプラットフォーム
cassius7
0
250
AIエージェント時代のPlatform as a Product —— テックリードがPdMとして回す発見・導入・計測 / Platform as a Product in the AI Agent Era
toshi0607
1
540
Lambda MicroVMsが分からなすぎたので使い所を1から考えてみた
tsukuboshi
1
260
データ品質を壊しながらSnowflakeのAIに分析させてみた
kawanago
0
320
Featured
See All Featured
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
The browser strikes back
jonoalderson
0
1.7k
Chasing Engaging Ingredients in Design
codingconduct
0
340
Raft: Consensus for Rubyists
vanstee
142
7.7k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
600
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
720
Technical Leadership for Architectural Decision Making
baasie
3
580
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
310
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
290
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
200
Transcript
1 SELECT url FROM news WHERE content like "% 逢甲夜市
%"
2 ALTER TABLE `db`.`table_name` ADD FULLTEXT `idx_name` (`content`); SELECT url
FROM news WHERE MATCH(content) AGAINST(" 逢甲夜市 ")
3 全文檢索
4 Fang Chia night market ^ ^ ^
5 Fang Chia night market Fang Chia Fang Chia night
market .....
6 逢甲夜市 逢 甲 夜 逢甲 夜市 逢夜 逢市 (N-gram)
7 中研院中文斷詞 (CKIP) https://ckip.iis.sinica.edu.tw/service/ckiptagger/
8 台灣即日起進入「排碳有價」時代,全台計有 281 家 企業、 500 間廠家須繳碳費,佔全國溫室氣體排放量 約 54% ,以鋼鐵、石化、半導體等產業為大宗。
範例
9 基努李維被問及對於真除代理執行長廖達琪的可能結 果,蔡明忠表示,不做多想,但期盼還是盧業中擔任 執行長 範例
10 Meilisearch
11 Meilisearch • full-text indexing engine powered by Rust •
支援多國語言 • Document based • RESTful API
12 Meilisearch
13 Meilisearch curl -X GET \ http://127.0.0.1:7700/indexes
14 Meilisearch curl -X POST \ 'http://localhost:7700/indexes' \ -H 'Content-Type:
application/json' \ --data-binary '{ "uid": "movies", "primaryKey": "id" }'
15 Meilisearch [ { "id": 1, "name": " 日落 ",
"tag": ["Linux", "COSCUP"], "programming-language": "PHP" }, { "id": 2, "name": "Shawn", "tag": ["Linux", "KaLUG", "Rust"] } ]
16 Meilisearch curl -X GET \ http://127.0.0.1:7700/index/people/stats { "numberOfDocuments": 2,
"isIndexing": false, "fieldDistribution": { "id": 2, "name": 2, "programming-language": 1, "tag": 2 } }
17 Meilisearch curl -X POST 'http://localhost:7700/indexes/people/sear ch' \ -H 'Content-Type:
application/json' \ --data-binary '{"q": "rust"}'
18 實際案例
19 Meilisearch https://zeroplex.tw
20 實際案例 新聞搜尋工具: • 文字約 3 GB • 數量約 140
萬筆 • 索引檔大小約 30 GB