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
780
0
Share
Meilisearch 簡介
johnroyer
September 28, 2024
More Decks by johnroyer
See All by johnroyer
單元測試經驗談
johnroyer
0
820
Introduction to CodeIgniter
johnroyer
2
180
MSN Users Clustering
johnroyer
0
10
Other Decks in Technology
See All in Technology
CyberAgent YJC Connect
shimaf4979
1
170
100マイクロサービスのTerraform/Kubernetes管理地獄から抜け出すためのAI活用術
markie1009
0
110
20260516_SecJAWS_Days
takuyay0ne
1
210
20260507-ACL-seminar
satoshi5884
0
110
Building a Study Buddy AI Agent from Scratch: From Passive Chatbots to Autonomous Systems
itchimonji
0
150
多角的な視点から見たAGI
terisuke
0
130
要件定義の精度を高めるための型と生成AIの活用 / Using Types and Generative AI to Improve the Accuracy of Requirements Definition
haru860
0
320
(きっとたぶん)人材育成や教育のような何かの話
sejima
0
680
Purview Endpoint DLP 動かしてみた
kozakigh
0
250
Agent の「自由」と「安全」〜未来に向けて今できること〜
katayan
0
350
「背中を見て育て」からの卒業 〜専門技術としてのテスト設計を軸に、品質保証のバトンを繋ぐ〜 #genda_tech_talk
nihonbuson
PRO
2
1.1k
10サービス以上のメール到達率改善を地道に継続的に進めている話 / Continue to improve email delivery rates across multiple services
yamaguchitk333
4
270
Featured
See All Featured
Art, The Web, and Tiny UX
lynnandtonic
304
21k
It's Worth the Effort
3n
188
29k
Deep Space Network (abreviated)
tonyrice
0
130
We Are The Robots
honzajavorek
0
220
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
120
Believing is Seeing
oripsolob
1
120
HDC tutorial
michielstock
2
650
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
180
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