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
Meilisearch 簡介
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
johnroyer
September 28, 2024
Technology
0
730
Meilisearch 簡介
johnroyer
September 28, 2024
Tweet
Share
More Decks by johnroyer
See All by johnroyer
單元測試經驗談
johnroyer
0
770
Introduction to CodeIgniter
johnroyer
2
170
MSN Users Clustering
johnroyer
0
9
Other Decks in Technology
See All in Technology
20260208_第66回 コンピュータビジョン勉強会
keiichiito1978
0
180
Why Organizations Fail: ノーベル経済学賞「国家はなぜ衰退するのか」から考えるアジャイル組織論
kawaguti
PRO
1
100
Bedrock PolicyでAmazon Bedrock Guardrails利用を強制してみた
yuu551
0
250
CDKで始めるTypeScript開発のススメ
tsukuboshi
1
480
モダンUIでフルサーバーレスなAIエージェントをAmplifyとCDKでサクッとデプロイしよう
minorun365
4
220
SRE Enabling戦記 - 急成長する組織にSREを浸透させる戦いの歴史
markie1009
0
130
小さく始めるBCP ― 多プロダクト環境で始める最初の一歩
kekke_n
1
450
AI駆動開発を事業のコアに置く
tasukuonizawa
1
270
OWASP Top 10:2025 リリースと 少しの日本語化にまつわる裏話
okdt
PRO
3
820
【Oracle Cloud ウェビナー】[Oracle AI Database + AWS] Oracle Database@AWSで広がるクラウドの新たな選択肢とAI時代のデータ戦略
oracle4engineer
PRO
2
170
【Ubie】AIを活用した広告アセット「爆速」生成事例 | AI_Ops_Community_Vol.2
yoshiki_0316
1
110
GitHub Issue Templates + Coding Agentで簡単みんなでIaC/Easy IaC for Everyone with GitHub Issue Templates + Coding Agent
aeonpeople
1
240
Featured
See All Featured
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
110
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.2k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
83
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
310
Thoughts on Productivity
jonyablonski
74
5k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
330
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
1
56
How to Ace a Technical Interview
jacobian
281
24k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
250
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.4k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
86
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