Skip to content

Refactor cli from ORM api to MilvusClient api#107

Merged
shanghaikid merged 3 commits intomainfrom
refactor-cli
Jan 20, 2026
Merged

Refactor cli from ORM api to MilvusClient api#107
shanghaikid merged 3 commits intomainfrom
refactor-cli

Conversation

@nameczz
Copy link
Collaborator

@nameczz nameczz commented Aug 22, 2025

No description provided.

Signed-off-by: zilliz <zilliz@zillizdeMacBook-Pro.local>
@nameczz nameczz requested a review from shanghaikid August 22, 2025 06:46
Signed-off-by: zilliz <zilliz@zillizdeMacBook-Pro.local>
- Merged origin/main with new CLI commands (flush, compact, truncate, etc.)
- Resolved conflicts by keeping *Client.py structure and removing ORM files
- Added new methods to CollectionClient.py:
  - flush, compact, get_compaction_state, get_compaction_plans
  - get_replicas (using utility), load_state, truncate, wait_for_loading_complete
- Added new methods to DataClient.py:
  - get_by_ids, delete_by_ids, bulk_insert
  - get_bulk_insert_state, list_bulk_insert_tasks
- Updated AliasClient.py to support listing all aliases without collection name
- Fixed imports in CLI scripts (cli, show, getList)
- Fixed MilvusClient API parameter names (job_id instead of compaction_id)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@shanghaikid shanghaikid merged commit 3f661db into main Jan 20, 2026
@shanghaikid shanghaikid deleted the refactor-cli branch January 20, 2026 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants