karakeep-app/karakeep
Fr: expose binaryQuantized of meilisearch (faster search and lighter db)
オープン
#1,315 opened on 2025/04/26
feature requestgood first issuepri/lowstatus/approved
Repository metrics
- Stars
- (27,587 個のスター)
- PR merge metrics
- (PR metrics pending)
説明
Describe the feature you'd like
Hi,
binaryQuantized allows to keep only 1 and 0s in the embedding process, making the db way smaller and the search way faster. Depending on the model and dimensions the loss can actually be negligible.
In this example using binary embeddings uses 3% of the space (x32 compression) and retains 96% of the performance with a x25 speedup.
I'm not saying it should default to true but exposing the setting would be a good start!
Here's the doc
Describe the benefits this would bring to existing Karakeep users
Way faster search, way lower db size, usable on cheaper hardware.
Can the goal of this request already be achieved via other means?
No
Have you searched for an existing open/closed issue?
- I have searched for existing issues and none cover my fundamental request
Additional context
No response