-
Notifications
You must be signed in to change notification settings - Fork 238
feat: support root_id for storage backends #808
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
Merged
Merged
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
5f7acf0
feat: support root_id for subindex with redis
AnneYang720 e031227
feat: add root_id to config of backends
AnneYang720 365052d
feat: store find scores
AnneYang720 0f5f105
feat: add root_id in _update_subindices_set
AnneYang720 e290cff
refactor: remove comments
AnneYang720 aef6b32
feat: set default root_id to True
AnneYang720 dc3da50
feat: keep user pre-defined root_id
AnneYang720 2e5a485
feat: add warning for redis _extend about root_id
AnneYang720 7081f7c
feat: raise error when not all res have root_id
AnneYang720 865e02f
test: add test_find_return_root
AnneYang720 1b650b0
Merge branch 'main' into feat-root-id
AnneYang720 0a0c517
fix: convert value to docarray first
AnneYang720 601c881
feat: add no root_id warning
AnneYang720 6d1fcbe
feat: add root_id for root level set
AnneYang720 dffcb2b
fix: do not assign root_id automatically
AnneYang720 bcbfd4b
fix: keep scores when return_root is True
AnneYang720 6eb6eba
test: add tests for root_id
AnneYang720 fb62164
Merge branch 'main' into feat-root-id
AnneYang720 65e9715
feat: add root-id support for DAInMemory
AnneYang720 7f70402
Merge branch 'main' into feat-root-id
AnneYang720 3997b7e
docs: add doc for find return_root
AnneYang720 733d24d
Merge branch 'main' into feat-root-id
AnneYang720 a00bdbd
fix: annlite _append
AnneYang720 faa09ec
feat: add root_id support for milvus
AnneYang720 bd4194f
docs: add root_id to config for backends
AnneYang720 da5e972
refactor: change warning message
AnneYang720 b3df9f3
feat: init _is_subindex in base _init_storage
AnneYang720 6e33f98
feat: change root_id to private _root_id_
AnneYang720 56cb9d0
refactor: simplify code for find return root
AnneYang720 81824e7
refactor: move get_root_docs to common helper
AnneYang720 455e9c2
feat: add warning for subindex __setitem__
AnneYang720 8bf4256
docs: add note for find return_root
AnneYang720 f5dc437
refactor: use _is_subindex directly
AnneYang720 3b703b6
refactor: move _get_root_docs to mixins
AnneYang720 f3d54bd
Merge branch 'main' into feat-root-id
AnneYang720 736a4e6
fix: check_root_id only when value is Doc
AnneYang720 8431aac
fix: fix logic in check_root_id
AnneYang720 cc9160e
Merge branch 'main' into feat-root-id
AnneYang720 5f8ca22
refactor: add comments
AnneYang720 b1fbb27
docs: doc modification
AnneYang720 1c119a4
test: add test cases for test_find_return_root
AnneYang720 e050025
Merge branch 'main' into feat-root-id
AnneYang720 34d43ce
docs: add root_id to redis doc
AnneYang720 98a1270
refactor: add _is_subindex to constructor
AnneYang720 89222dc
Merge branch 'main' into feat-root-id
AnneYang720 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 file contains hidden or 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 file contains hidden or 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 file contains hidden or 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 file contains hidden or 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 file contains hidden or 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 file contains hidden or 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 file contains hidden or 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 file contains hidden or 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 file contains hidden or 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 file contains hidden or 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 file contains hidden or 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 file contains hidden or 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 file contains hidden or 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 file contains hidden or 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 file contains hidden or 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 file contains hidden or 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 file contains hidden or 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 file contains hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.