-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[ENH] Query merging #2066
Merged
Merged
[ENH] Query merging #2066
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This was referenced Apr 26, 2024
1 task
HammadB
commented
Apr 26, 2024
HammadB
commented
Apr 26, 2024
HammadB
commented
Apr 26, 2024
Reviewer ChecklistPlease leverage this checklist to ensure your code review is thorough before approving Testing, Bugs, Errors, Logs, Documentation
System Compatibility
Quality
|
HammadB
commented
Apr 26, 2024
chromadb/api/segment.py
Outdated
@@ -684,9 +684,8 @@ def _query( | |||
for embedding in query_embeddings: | |||
self._validate_dimension(coll, len(embedding), update=False) | |||
|
|||
metadata_reader = self._manager.get_segment(collection_id, MetadataReader) | |||
|
|||
if where or where_document: |
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.
This makes it so that we don't touch the metadata segment unless its needed
HammadB
force-pushed
the
hammad/data_record_support_in_blockfile
branch
from
April 26, 2024 16:28
1295539
to
adce836
Compare
HammadB
force-pushed
the
hammad/query_hnsw
branch
from
April 26, 2024 16:28
2a638fb
to
9af1909
Compare
HammadB
force-pushed
the
hammad/data_record_support_in_blockfile
branch
from
April 26, 2024 16:31
adce836
to
716fc6f
Compare
HammadB
force-pushed
the
hammad/query_hnsw
branch
2 times, most recently
from
April 26, 2024 17:43
8671cf0
to
1c8b0d1
Compare
HammadB
force-pushed
the
hammad/data_record_support_in_blockfile
branch
from
April 26, 2024 23:41
df37229
to
233a63d
Compare
HammadB
force-pushed
the
hammad/query_hnsw
branch
from
April 26, 2024 23:41
f3a402d
to
357a587
Compare
…o hammad/query_hnsw
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
HammadB
changed the base branch from
hammad/data_record_support_in_blockfile
to
main
May 2, 2024 16:16
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of changes
Summarize the changes made by this PR.
Test plan
How are these changes tested?
pytest
for python,yarn test
for js,cargo test
for rustDocumentation Changes
None