-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
全文検索の導入 #9
Comments
tinysearchはよさそう。 $ du -h tinysearch*
4.0K tinysearch_engine.d.ts
8.0K tinysearch_engine.js
268K tinysearch_engine_bg.wasm
4.0K tinysearch_engine_bg.wasm.d.ts |
tinysearhにはバグがある あと日本語の検索結果がかなり怪しい。キーワードが入ってないページが数件表示されるだけでキーワードが入ってるページが表示されない |
そもそもブログの内容をまとめると3.5MBくらいあって毎回ブラウザにロードするには重いのでアプローチとしてはtinysearchの路線が正解? |
done in 1c80d78 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
wasmで動く全文検索エンジンがあるので導入したい
stork
stork-search.net/
ひとまず試してみた。
https://github.com/KeenS/KeenS.github.io/tree/fulltext-search-stork
結論からいうとダメ。インデックスが200MBあってロードがめちゃくちゃ重い。
tinysearch
A Tiny, Static, Full-Text Search Engine using Rust and WebAssembly | Matthias Endler
bloom filterベースっぽいのでfalse positiveが起きそうだけど一旦試してみる。
The text was updated successfully, but these errors were encountered: