-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Don't store the vectors in the documents database #4649
Conversation
4caa914
to
0370a09
Compare
/bench *embeddings.json |
/bench workloads/*embeddings.json |
5941391
to
c03609d
Compare
04683ef
to
d9cc108
Compare
0fb0fc9
to
96d288d
Compare
/bench workloads/*embeddings.json shouldn't change drastically |
index-scheduler/src/snapshots/index_scheduler__tests__import_vectors-15.snap
Show resolved
Hide resolved
index-scheduler/src/snapshots/index_scheduler__tests__import_vectors-22.snap
Show resolved
Hide resolved
☀️ Benchmark invocation completed, please find the results for your workloads below: |
- no longer clear vector DB between any two embedder changes
…ctors in documents, and clear the writers
9bc901f
to
e35ef31
Compare
- when the feature is disabled, documents are never modified - when the feature is enabled and `retrieveVectors` is disabled, `_vectors` is removed from documents - when the feature is enabled and `retrieveVectors` is enabled, vectors from the vectors DB are merged with `_vectors` in documents Additionally `_vectors` is never displayed when the `displayedAttributes` list does not contain either `*` or `_vectors` - fixed an issue where `_vectors` was not injected when all vectors in the dataset where always generated
- update tests following changes in behavior from previous commit
Update: Discussed with @irevoire
@dureuill also changed the behavior and name of the |
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.
I approve my PR @dureuill
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.
Thanks for the work @irevoire
bors merge |
Pull Request
Related issue
Fixes #4607
What does this PR do?
_vectors
is NOT searchable, filterable or sortable