-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
enhance: Add a config item for partition name as regexp feature and disable it by default #29154
enhance: Add a config item for partition name as regexp feature and disable it by default #29154
Conversation
Partition name work as regexp is legacy logic from 1.x and shall not be supported any more Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
@congqixia E2e jenkins job failed, comment |
/run-cpu-e2e |
@congqixia E2e jenkins job failed, comment |
/run-cpu-e2e |
@congqixia E2e jenkins job failed, comment |
/run-cpu-e2e |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #29154 +/- ##
==========================================
- Coverage 82.02% 81.96% -0.06%
==========================================
Files 862 861 -1
Lines 121926 122118 +192
==========================================
+ Hits 100004 100091 +87
- Misses 18600 18683 +83
- Partials 3322 3344 +22
|
@congqixia E2e jenkins job failed, comment |
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
@congqixia E2e jenkins job failed, comment |
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: congqixia 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 |
@congqixia Please associate the related issue to the body of your Pull Request. (eg. “issue: #”) |
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.
/lgtm
…isable it by default (milvus-io#29154) See also milvus-io#29177 Add a config item for partition name as regexp feature and disable it by default --------- Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
…isable it by default (milvus-io#29154) See also milvus-io#29177 Add a config item for partition name as regexp feature and disable it by default --------- Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
In the release notes you have: Can you please add an explanation of how to re-enable this feature? I cant update to 2.3.4 because this breaks a filter i have on a partition key field... PS: this disables automatic partitions expr |
you need to set proxy.partitionNameRegexp to true |
In fact we don't recommend to enable this features since this might a serious performnace problem |
"you need to set proxy.partitionNameRegexp to true" - you mean in the mivlus.yaml? is there an env param to override this? Yes i get it that its not recommended, And since i initially setup the partitions automatically using For me this is a breaking change that came in a patch version... Speaking of - what is the correct way to address Should i just set 128 partitions and hash the document_id to one of them and use that for search? |
you have to config this in milvus.yaml |
can if you use partition keys, then each time you should just search with one partition key right? |
In the auto partition key mode the new flag disables searching by document_id entirely. when not specifying partitions document_id is ignored and i get 0 results. I think you are right, setting up a new collection with manual partitions might be the way to go... |
See also #29177
Add a config item for partition name as regexp feature and disable it by default