Related to #40866
This PR:
- update go-api/v2 and support partition id/channel/segment level manual
compaction
- refines the compaction trigger implementation
- unify the compaction signal usage
---------
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
See failure run in #40352
This PR:
- move metaheader map to client struct from config
- set default value for field schema
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
Related to #39093
This PR add update timestamp check and retry policy according to the
design of the related issue
---------
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
Related to #31293#37031
This PR:
- Add DescribeReplica API
- Add unified RBAC v2 API names(AddPrivilegesToGroup,
RemovePrivilegesFromGroup, GrantPrivilegeV2, RevokePrivilegeV2)
- Mark old ones deprecated
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
Related to #40274
Previousy DescribeRole returns only roles with grants, this PR add
select role action to check role existence.
Also added database properties related option
---------
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
Related to #39095
Previous PR #39990 update pkg module path using "/v2" package name, this
PR update milvusclient go sdk dependency for this update
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
If the flag is not passed, the behaviors will not be expected when user
not passing consistency level.
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
Related to #31293
This PR:
- Add AlterDatabaseProperties API
- Add DropDatabaseProperties API
- Add DescribeDatabase API
- Rename AlterCollection to AlterCollectionProperties
- Add DropCollectionProperties API
- Add AlterCollectionFieldProperties API
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
related: #37031
* built-in privilege group privileges in listPrivilegeGroups() should be
the same as in milvus.yaml
* collections granted by collection level built-in privilege group
should be list in showCollections()
Signed-off-by: shaoting-huang <shaoting.huang@zilliz.com>
Related to #31293
- Rename `UsingDatabase` to `UseDatabase`
- Uncomment default value methods
- Add missing RBAC APIs
- Add some resource group APIs
---------
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
Related to #36672
This PR add
- Expression template for search, query & hybrid search
- fix hybrid search rerank param
- add reranker interface(migrate from go sdk old repo)
---------
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
Related to #31293
This PR
- Add some example test code for some basic operations
- Refine search params and add some predefined one
- Split search & hybrid search option
---------
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
Related to #37853
Previous logic cannot handle partial load due to dynamic column
handling. This PR unifies the output translate logic.
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
Previous PR: #37978
This unit test is unable due to dim is a random number. When dim is
large enough precision loss will be greater than 0.04
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
Related to #31293
Previous column is written using go before 1.18, which does not support
generic type. After migrating client pkg to main repo, generic base
could be used to reduce lots of duplicated code.
---------
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
Related to #35853
This PR contains following changes:
- Add function and related proto and helper functions
- Remove the insert column missing check and leave it to server
- Add text as search input data
- Add some unit tests for logic above
---------
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>