-
Notifications
You must be signed in to change notification settings - Fork 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
feat: support inverted index for array #33452
feat: support inverted index for array #33452
Conversation
Signed-off-by: longjiquan <[email protected]>
Signed-off-by: longjiquan <[email protected]>
Signed-off-by: longjiquan <[email protected]>
Signed-off-by: longjiquan <[email protected]>
@longjiquan ut workflow job failed, comment |
Signed-off-by: longjiquan <[email protected]>
@longjiquan E2e jenkins job failed, comment |
Signed-off-by: longjiquan <[email protected]>
comment fixed at 073e5aa |
/lgtm |
@longjiquan E2e jenkins job failed, comment |
Signed-off-by: longjiquan <[email protected]>
@longjiquan E2e jenkins job failed, comment |
@longjiquan ut workflow job failed, comment |
Signed-off-by: longjiquan <[email protected]>
rerun ut |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #33452 +/- ##
==========================================
- Coverage 82.12% 82.06% -0.07%
==========================================
Files 1015 1005 -10
Lines 129767 130040 +273
==========================================
+ Hits 106574 106719 +145
- Misses 19231 19353 +122
- Partials 3962 3968 +6
|
@@ -49,6 +51,15 @@ struct RustArrayWrapper { | |||
std::cout << ss.str() << std::endl; | |||
} | |||
|
|||
std::set<uint32_t> |
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.
use following code to accelerate insert of std::set.
std::set<uint32_t>
to_set() {
std::set<uint32_t> s;
for (int i = 0; i < array_.len; i++) {
s.insert(s.end(), array_.array[i]);
}
return s;
}
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 api is just used in test. to_set
should never be used in real filtering sceniar.
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'll delete this api in the next pr.
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: czs007, longjiquan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: longjiquan <[email protected]>
Signed-off-by: longjiquan <[email protected]>
Signed-off-by: longjiquan <[email protected]>
pr: #33184 pr: #33452 pr: #33633 issue: #27704 Co-authored-by: xiaocai2333 <[email protected]> --------- Signed-off-by: Cai Zhang <[email protected]> Signed-off-by: longjiquan <[email protected]> Co-authored-by: cai.zhang <[email protected]>
issue: milvus-io#27704 --------- Signed-off-by: longjiquan <[email protected]>
issue: #27704