-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Use Hannoy instead of arroy #5767
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
base: release-v1.16.0
Are you sure you want to change the base?
Conversation
Hello, I'm a bot 🤖You are receiving this message because you declared that this PR make changes to the Meilisearch database. Thank you for contributing to Meilisearch ❤️ This PR makes forward-compatible changesForward-compatible changes are changes to the database such that databases created in an older version of Meilisearch are still valid in the new version of Meilisearch. They usually represent additive changes, like adding a new optional attribute or setting.
This PR makes breaking changesBreaking changes are changes to the database such that databases created in an older version of Meilisearch need changes to remain valid in the new version of Meilisearch. This typically happens when the way to store the data changed (change of database, new required key, etc). This can also happen due to breaking changes in the API of an experimental feature.
|
cbf70df
to
bc1aa5a
Compare
5d22377
to
4f6f59f
Compare
4f6f59f
to
5d22377
Compare
96594b1
to
ae97561
Compare
79c7163
to
296f065
Compare
@@ -98,12 +98,12 @@ impl Progress { | |||
} | |||
|
|||
// TODO: ideally we should expose the progress in a way that let arroy use it directly | |||
pub(crate) fn update_progress_from_arroy(&self, progress: arroy::WriterProgress) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In progress nnethercott/hannoy#16
@@ -66,7 +66,7 @@ where | |||
let mut bbbuffers = Vec::new(); | |||
let finished_extraction = AtomicBool::new(false); | |||
|
|||
let arroy_memory = grenad_parameters.max_memory; | |||
let hannoy_memory = grenad_parameters.max_memory; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @nnethercott, do you use the max memory in Hannoy to build the tree?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not currently, lemme know if you guys are running into issues later though & we can integrate what's in arroy here
65286e8
to
c1b0a04
Compare
417f124
to
8a01b39
Compare
This PR removes arroy and puts hannoy instead. The final goal of this PR is to merge Hannoy into Meilisearch and will follow the progress and necessary missing features of Hannoy in this Linear page (internal).
To be done
MEILI_EMBEDDINGS_CHUNK_SIZE
env varWe should keep Nate's following comment about the M and M0 values we should use and set. We could expose these two M and M0 parameters (or maybe only the former) in the embedded settings.
There is a running prototype to generate a Docker Image. The name of the Docker image is
prototype-arroy-becomes-hannoy-x
wherex
is an incrementing number.