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
johnroyer
September 28, 2024
Technology
980
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Meilisearch 簡介
johnroyer
September 28, 2024
Transcript
20 slides
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
More Decks by johnroyer
See All by johnroyer
使用 Meilisearch 建立新聞搜尋工具
johnroyer
0
690
單元測試經驗談
johnroyer
0
930
Introduction to CodeIgniter
johnroyer
2
200
MSN Users Clustering
johnroyer
0
120
Other Decks in Technology
See All in Technology
Biohub - Cell Tracking During Development 5th place solution
rist
0
140
Frontier Teams — Amazon は AI で「開発のやり方」をどう変えたのか
kmotohas
0
220
少ない人手 限られた予算 それでも守る 消せない・見つける・戻れる オールハザード型BCP on AWS / 20261107 Mitsutoshi Matsuo
shift_evolve
PRO
0
370
2026-11-11 Tamachi.sre#7 PaCにインフラリソースの命を救われました。 / PaC saves the infra resource life
masasuzu
0
140
農夫は秘伝のタレを知らない - NOBODY KNOWS THE HIDDEN SOURCE - Kaggriculture 3rd Place Solution
masspeaks
0
230
思考過程から秘密が漏れる:Amazon Bedrock上のKimi K3を5つの方法で攻めたら、25回中22回漏洩した話
yama3133
1
150
生成AI時代のIAMのマニアックな話
takuros
6
3.2k
AWS構成から考えるWebセキュリティ ― WordPressの構築経験から考える公開範囲と更新運用【JAWS FESTA 2026 in AKITA】
cscengineer
PRO
2
420
ライフワーク「猫でもわかるDirectConnect」
kentapapa
0
320
Kiro 入門 (1 つのエージェントを、どの画面からでも) | 目指せ Kiro マスター 01
inariku
PRO
6
1.7k
AI時代の組織作り:チーム開発から「個人×AI」への移行と、持続可能な「開発資本」の築き方
ham0215
3
830
AIが会計業務の伴走者に。 マネーフォワード クラウド会計MCPサーバーで実現するAI前提の新しい業務プロセス
nobitabashi
0
110
Featured
See All Featured
Odyssey Design
rkendrick25
PRO
3
940
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.2k
Into the Great Unknown - MozCon
thekraken
41
2.8k
Leo the Paperboy
mayatellez
11
2.5k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.5k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
530
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1.1k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
1
240
4 Signs Your Business is Dying
shpigford
187
23k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
60k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
630
Context Engineering - Making Every Token Count
addyosmani
9
1.3k