Conversation
Signed-off-by: AnneY <[email protected]>
Codecov ReportBase: 81.08% // Head: 81.67% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #808 +/- ##
==========================================
+ Coverage 81.08% 81.67% +0.59%
==========================================
Files 138 138
Lines 7067 7112 +45
==========================================
+ Hits 5730 5809 +79
+ Misses 1337 1303 -34
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Signed-off-by: AnneY <[email protected]>
There was a problem hiding this comment.
Looking good so far!
I think there are a fw more thing we have to consider.
-
The users might also be interested in the
scoreof a retrieved Document. I think ifreturn_root=Truewe should just copy the score from the chunk Document to the root Document before returning it. -
What if the user modifies the subindex directly, like
da['@c'].extend(...)? Then we can't know the parent id. How do we want to handle this case? -
What about operations like
da[x] = doc? Then we should also set the root_id, not only for extend and append, so we will have to handle this in_update_subindex_set().
Signed-off-by: AnneY <[email protected]>
Signed-off-by: AnneY <[email protected]>
Signed-off-by: AnneY <[email protected]>
Signed-off-by: AnneY <[email protected]>
Signed-off-by: AnneY <[email protected]>
Signed-off-by: AnneY <[email protected]>
Signed-off-by: AnneY <[email protected]>
Signed-off-by: AnneY <[email protected]>
Signed-off-by: AnneY <[email protected]>
Signed-off-by: AnneY <[email protected]>
Signed-off-by: AnneY <[email protected]>
Signed-off-by: AnneY <[email protected]>
Signed-off-by: AnneY <[email protected]>
Signed-off-by: AnneY <[email protected]>
Signed-off-by: AnneY <[email protected]>
Signed-off-by: AnneY <[email protected]>
Signed-off-by: AnneY <[email protected]>
|
We now face some limitations:
|
Signed-off-by: AnneY <[email protected]>
Signed-off-by: AnneY <[email protected]>
Signed-off-by: AnneY <[email protected]>
Signed-off-by: AnneY <[email protected]>
To add a little bit more context to 2. and 3.: The intended use of this feature is for someone to add Documents to the root-level DocumentArray, so that Documents in a subindex can automatically be 'tagged' with a root_id: The question becomes, when do we warn about this behaviour? At insert time, or at |
If u have |
Signed-off-by: AnneY <[email protected]>
Signed-off-by: AnneY <[email protected]>
Signed-off-by: AnneY <[email protected]>
Signed-off-by: AnneY <[email protected]>
|
📝 Docs are deployed on https://ft-feat-root-id--jina-docs.netlify.app 🎉 |
This PR implements issue #775
Goals: