From 5c17cda1bb443a681ae6f46e10923fad1672e37a Mon Sep 17 00:00:00 2001 From: AnthonyTsu1984 <115786031+AnthonyTsu1984@users.noreply.github.com> Date: Thu, 28 Nov 2024 10:18:16 +0800 Subject: [PATCH 1/2] update docs Signed-off-by: AnthonyTsu1984 <115786031+AnthonyTsu1984@users.noreply.github.com> --- API_Reference/milvus-sdk-java/v2.5.x/About.md | 70 +++++ .../{v2.4.x => v2.5.x}/v1/Alias/alterAlias.md | 0 .../v1/Alias/createAlias.md | 0 .../{v2.4.x => v2.5.x}/v1/Alias/dropAlias.md | 0 .../v1/Alias/listAliases.md | 0 .../v1/Authentication/createCredential.md | 0 .../v1/Authentication/deleteCredential.md | 0 .../v1/Authentication/listCredUsers.md | 0 .../v1/Authentication/updateCredential.md | 0 .../v1/BulkInsertOps/bulkInsert.md | 0 .../v1/BulkInsertOps/getBulkInsertState.md | 0 .../v1/BulkInsertOps/listBulkInsertTasks.md | 0 .../v1/BulkWriter/LocalBulkWriter.md | 0 .../v1/BulkWriter/RemoteBulkWriter.md | 0 .../v1/Collection/alterCollection.md | 0 .../v1/Collection/createCollection.md | 0 .../v1/Collection/delete.md | 0 .../v1/Collection/describeCollection.md | 0 .../v1/Collection/dropCollection.md | 0 .../{v2.4.x => v2.5.x}/v1/Collection/flush.md | 0 .../v1/Collection/getCollectionStatistics.md | 0 .../v1/Collection/getLoadState.md | 0 .../v1/Collection/getLoadingProgress.md | 0 .../v1/Collection/getPersistentSegmentInfo.md | 0 .../v1/Collection/getQuerySegmentInfo.md | 0 .../v1/Collection/getReplicas.md | 0 .../v1/Collection/insert.md | 0 .../v1/Collection/insertAsync.md | 0 .../v1/Collection/loadCollection.md | 0 .../v1/Collection/releaseCollection.md | 0 .../v1/Collection/renameCollection.md | 0 .../v1/Collection/showCollections.md | 0 .../v1/Collection/upsert.md | 0 .../v1/Collection/upsertAsync.md | 0 .../v1/Connections/MilvusClient.md | 0 .../v1/Connections/MilvusClientV1Pool.md | 0 .../v1/Database/alterDatabase.md | 0 .../v1/Database/createDatabase.md | 0 .../v1/Database/dropDatabase.md | 0 .../v1/Database/listDatabases.md | 0 .../v1/HighlevelAPI/createCollection.md | 0 .../v1/HighlevelAPI/delete.md | 0 .../{v2.4.x => v2.5.x}/v1/HighlevelAPI/get.md | 0 .../v1/HighlevelAPI/insert.md | 0 .../v1/HighlevelAPI/listCollections.md | 0 .../v1/HighlevelAPI/query.md | 0 .../v1/HighlevelAPI/search.md | 0 .../{v2.4.x => v2.5.x}/v1/Index/alterIndex.md | 0 .../v1/Index/createIndex.md | 0 .../v1/Index/describeIndex.md | 0 .../{v2.4.x => v2.5.x}/v1/Index/dropIndex.md | 0 .../v1/Index/getIndexBuildingProgress.md | 0 .../v1/Index/getIndexState.md | 0 .../v1/Management/getCompactionState.md | 0 .../Management/getCompactionStateWithPlans.md | 0 .../v1/Management/getFlushAllState.md | 0 .../v1/Management/getFlushState.md | 0 .../v1/Management/getMetrics.md | 0 .../v1/Management/loadBalance.md | 0 .../v1/Management/manualCompact.md | 0 .../v1/Misc/ConsistencyLevelEnum.md | 0 .../{v2.4.x => v2.5.x}/v1/Misc/Constant.md | 0 .../{v2.4.x => v2.5.x}/v1/Misc/DataType.md | 0 .../{v2.4.x => v2.5.x}/v1/Misc/IndexType.md | 0 .../{v2.4.x => v2.5.x}/v1/Misc/LogLevel.md | 0 .../{v2.4.x => v2.5.x}/v1/Misc/MetricType.md | 0 .../{v2.4.x => v2.5.x}/v1/Misc/RT.md | 0 .../v1/Partition/createPartition.md | 0 .../v1/Partition/dropPartition.md | 0 .../v1/Partition/getPartitionStatistics.md | 0 .../v1/Partition/hasPartition.md | 0 .../v1/Partition/loadPartitions.md | 0 .../v1/Partition/releasePartitions.md | 0 .../v1/Partition/showPartitions.md | 0 .../v1/QuerySearch/hybridSearch.md | 0 .../v1/QuerySearch/query.md | 0 .../v1/QuerySearch/queryAsync.md | 0 .../v1/QuerySearch/queryIterator.md | 0 .../v1/QuerySearch/search.md | 0 .../v1/QuerySearch/searchAsync.md | 0 .../v1/QuerySearch/searchIterator.md | 0 .../v1/RBAC/addUserToRole.md | 0 .../{v2.4.x => v2.5.x}/v1/RBAC/createRole.md | 0 .../{v2.4.x => v2.5.x}/v1/RBAC/dropRole.md | 0 .../v1/RBAC/grantRolePrivilege.md | 0 .../v1/RBAC/removeUserFromRole.md | 0 .../v1/RBAC/revokeRolePrivilege.md | 0 .../v1/RBAC/selectGrantForRole.md | 0 .../v1/RBAC/selectGrantForRoleAndObject.md | 0 .../{v2.4.x => v2.5.x}/v1/RBAC/selectRole.md | 0 .../{v2.4.x => v2.5.x}/v1/RBAC/selectUser.md | 0 .../v1/ResourceGroup/createResourceGroup.md | 0 .../v1/ResourceGroup/describeResourceGroup.md | 0 .../v1/ResourceGroup/dropResourceGroup.md | 0 .../v1/ResourceGroup/listResourceGroups.md | 0 .../v1/ResourceGroup/transferNode.md | 0 .../v1/ResourceGroup/transferReplica.md | 0 .../v1/System/checkHealth.md | 0 .../v1/System/getVersion.md | 0 .../{ => v2}/Authentication/createRole.md | 0 .../{ => v2}/Authentication/createUser.md | 0 .../{ => v2}/Authentication/describeRole.md | 0 .../{ => v2}/Authentication/describeUser.md | 0 .../{ => v2}/Authentication/dropRole.md | 0 .../{ => v2}/Authentication/dropUser.md | 0 .../{ => v2}/Authentication/grantPrivilege.md | 0 .../{ => v2}/Authentication/grantRole.md | 0 .../{ => v2}/Authentication/listRoles.md | 0 .../{ => v2}/Authentication/listUsers.md | 0 .../Authentication/revokePrivilege.md | 0 .../{ => v2}/Authentication/revokeRole.md | 0 .../{ => v2}/Authentication/updatePassword.md | 0 .../v2.5.x/{ => v2}/Client/MilvusClientV2.md | 0 .../{ => v2}/Client/MilvusClientV2Pool.md | 0 .../CollectionSchema/CollectionSchema.md | 0 .../Collections/CollectionSchema/addField.md | 0 .../Collections/CollectionSchema/getField.md | 0 .../{ => v2}/Collections/ConsistencyLevel.md | 0 .../v2.5.x/{ => v2}/Collections/DataType.md | 0 .../{ => v2}/Collections/FieldSchema.md | 0 .../v2.5.x/{ => v2}/Collections/alterAlias.md | 0 .../{ => v2}/Collections/createAlias.md | 0 .../{ => v2}/Collections/createCollection.md | 0 .../{ => v2}/Collections/createSchema.md | 0 .../{ => v2}/Collections/describeAlias.md | 0 .../Collections/describeCollection.md | 0 .../v2.5.x/{ => v2}/Collections/dropAlias.md | 0 .../{ => v2}/Collections/dropCollection.md | 0 .../Collections/getCollectionStats.md | 0 .../{ => v2}/Collections/hasCollection.md | 0 .../{ => v2}/Collections/listAliases.md | 0 .../{ => v2}/Collections/renameCollection.md | 0 .../v2.5.x/{ => v2}/Database/alterDatabase.md | 0 .../{ => v2}/Database/createDatabase.md | 0 .../{ => v2}/Database/describeDatabase.md | 0 .../v2.5.x/{ => v2}/Database/dropDatabase.md | 0 .../v2.5.x/{ => v2}/Database/listDatabases.md | 0 .../v2.5.x/{ => v2}/Management/IndexParam.md | 0 .../v2.5.x/{ => v2}/Management/IndexType.md | 0 .../v2.5.x/{ => v2}/Management/MetricType.md | 0 .../v2.5.x/{ => v2}/Management/createIndex.md | 0 .../{ => v2}/Management/describeIndex.md | 0 .../v2.5.x/{ => v2}/Management/dropIndex.md | 0 .../{ => v2}/Management/getLoadState.md | 0 .../{ => v2}/Management/loadCollection.md | 0 .../{ => v2}/Management/releaseCollection.md | 0 .../{ => v2}/Partitions/createPartition.md | 0 .../{ => v2}/Partitions/dropPartition.md | 0 .../{ => v2}/Partitions/hasPartition.md | 0 .../{ => v2}/Partitions/listPartitions.md | 0 .../{ => v2}/Partitions/loadPartitions.md | 0 .../{ => v2}/Partitions/releasePartitions.md | 0 API_Reference/milvus-sdk-node/v2.5.x/About.md | 257 ++++++++++++++++++ API_Reference/pymilvus/v2.5.x/About.md | 150 ++++++++++ v2.5.x/yarn.lock | 10 +- yarn.lock | 58 ++-- 156 files changed, 520 insertions(+), 25 deletions(-) create mode 100644 API_Reference/milvus-sdk-java/v2.5.x/About.md rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Alias/alterAlias.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Alias/createAlias.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Alias/dropAlias.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Alias/listAliases.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Authentication/createCredential.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Authentication/deleteCredential.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Authentication/listCredUsers.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Authentication/updateCredential.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/BulkInsertOps/bulkInsert.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/BulkInsertOps/getBulkInsertState.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/BulkInsertOps/listBulkInsertTasks.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/BulkWriter/LocalBulkWriter.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/BulkWriter/RemoteBulkWriter.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Collection/alterCollection.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Collection/createCollection.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Collection/delete.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Collection/describeCollection.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Collection/dropCollection.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Collection/flush.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Collection/getCollectionStatistics.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Collection/getLoadState.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Collection/getLoadingProgress.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Collection/getPersistentSegmentInfo.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Collection/getQuerySegmentInfo.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Collection/getReplicas.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Collection/insert.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Collection/insertAsync.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Collection/loadCollection.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Collection/releaseCollection.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Collection/renameCollection.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Collection/showCollections.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Collection/upsert.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Collection/upsertAsync.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Connections/MilvusClient.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Connections/MilvusClientV1Pool.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Database/alterDatabase.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Database/createDatabase.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Database/dropDatabase.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Database/listDatabases.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/HighlevelAPI/createCollection.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/HighlevelAPI/delete.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/HighlevelAPI/get.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/HighlevelAPI/insert.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/HighlevelAPI/listCollections.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/HighlevelAPI/query.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/HighlevelAPI/search.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Index/alterIndex.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Index/createIndex.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Index/describeIndex.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Index/dropIndex.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Index/getIndexBuildingProgress.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Index/getIndexState.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Management/getCompactionState.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Management/getCompactionStateWithPlans.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Management/getFlushAllState.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Management/getFlushState.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Management/getMetrics.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Management/loadBalance.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Management/manualCompact.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Misc/ConsistencyLevelEnum.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Misc/Constant.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Misc/DataType.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Misc/IndexType.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Misc/LogLevel.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Misc/MetricType.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Misc/RT.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Partition/createPartition.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Partition/dropPartition.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Partition/getPartitionStatistics.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Partition/hasPartition.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Partition/loadPartitions.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Partition/releasePartitions.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/Partition/showPartitions.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/QuerySearch/hybridSearch.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/QuerySearch/query.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/QuerySearch/queryAsync.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/QuerySearch/queryIterator.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/QuerySearch/search.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/QuerySearch/searchAsync.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/QuerySearch/searchIterator.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/RBAC/addUserToRole.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/RBAC/createRole.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/RBAC/dropRole.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/RBAC/grantRolePrivilege.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/RBAC/removeUserFromRole.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/RBAC/revokeRolePrivilege.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/RBAC/selectGrantForRole.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/RBAC/selectGrantForRoleAndObject.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/RBAC/selectRole.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/RBAC/selectUser.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/ResourceGroup/createResourceGroup.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/ResourceGroup/describeResourceGroup.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/ResourceGroup/dropResourceGroup.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/ResourceGroup/listResourceGroups.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/ResourceGroup/transferNode.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/ResourceGroup/transferReplica.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/System/checkHealth.md (100%) rename API_Reference/milvus-sdk-java/{v2.4.x => v2.5.x}/v1/System/getVersion.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Authentication/createRole.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Authentication/createUser.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Authentication/describeRole.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Authentication/describeUser.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Authentication/dropRole.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Authentication/dropUser.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Authentication/grantPrivilege.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Authentication/grantRole.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Authentication/listRoles.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Authentication/listUsers.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Authentication/revokePrivilege.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Authentication/revokeRole.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Authentication/updatePassword.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Client/MilvusClientV2.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Client/MilvusClientV2Pool.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Collections/CollectionSchema/CollectionSchema.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Collections/CollectionSchema/addField.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Collections/CollectionSchema/getField.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Collections/ConsistencyLevel.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Collections/DataType.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Collections/FieldSchema.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Collections/alterAlias.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Collections/createAlias.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Collections/createCollection.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Collections/createSchema.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Collections/describeAlias.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Collections/describeCollection.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Collections/dropAlias.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Collections/dropCollection.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Collections/getCollectionStats.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Collections/hasCollection.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Collections/listAliases.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Collections/renameCollection.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Database/alterDatabase.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Database/createDatabase.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Database/describeDatabase.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Database/dropDatabase.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Database/listDatabases.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Management/IndexParam.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Management/IndexType.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Management/MetricType.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Management/createIndex.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Management/describeIndex.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Management/dropIndex.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Management/getLoadState.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Management/loadCollection.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Management/releaseCollection.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Partitions/createPartition.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Partitions/dropPartition.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Partitions/hasPartition.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Partitions/listPartitions.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Partitions/loadPartitions.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Partitions/releasePartitions.md (100%) create mode 100644 API_Reference/milvus-sdk-node/v2.5.x/About.md create mode 100644 API_Reference/pymilvus/v2.5.x/About.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/About.md b/API_Reference/milvus-sdk-java/v2.5.x/About.md new file mode 100644 index 000000000..2d54ba8ff --- /dev/null +++ b/API_Reference/milvus-sdk-java/v2.5.x/About.md @@ -0,0 +1,70 @@ +# About + +Milvus Java SDK is an open-source project and its source code is hosted on [GitHub](https://github.com/milvus-io/milvus-sdk-java). + +## **Compatibility** + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Milvus versionRecommended SDK version
2.0.22.0.4
2.12.1.0-beta4
2.2.0 ~ 2.2.82.2.5
2.2.9 ~ 2.2.142.2.13
2.3.x2.3.9
2.4.x2.4.8
2.5.x2.5.0
+ +## **Installation** + +You can use **[Apache Maven](https://maven.apache.org/install.html)** or **[Gradle](https://gradle.org/install/)** to download the SDK. + +- Apache Maven + +```xml + + io.milvus + milvus-sdk-java + 2.5.0 + +``` + +- Gradle/Groovy + +```plaintext +implementation 'io.milvus:milvus-sdk-java:2.5.0' +``` + +- Gradle/Kotlin + +```sql +implementation("io.milvus:milvus-sdk-java:2.5.0") +``` + +## **Contributing** + +We are committed to building a collaborative, exuberant open-source community for Milvus. Therefore, contributions to Milvus Java SDK are welcome from everyone. Refer to [Contributing Guideline](https://github.com/milvus-io/milvus-sdk-java/blob/master/CONTRIBUTING.md) before making contributions to this project. You can [file an issue](https://github.com/milvus-io/milvus-sdk-java/issues/new) if you need any assistance or want to propose your ideas diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Alias/alterAlias.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Alias/alterAlias.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Alias/alterAlias.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Alias/alterAlias.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Alias/createAlias.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Alias/createAlias.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Alias/createAlias.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Alias/createAlias.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Alias/dropAlias.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Alias/dropAlias.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Alias/dropAlias.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Alias/dropAlias.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Alias/listAliases.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Alias/listAliases.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Alias/listAliases.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Alias/listAliases.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Authentication/createCredential.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Authentication/createCredential.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Authentication/createCredential.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Authentication/createCredential.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Authentication/deleteCredential.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Authentication/deleteCredential.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Authentication/deleteCredential.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Authentication/deleteCredential.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Authentication/listCredUsers.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Authentication/listCredUsers.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Authentication/listCredUsers.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Authentication/listCredUsers.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Authentication/updateCredential.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Authentication/updateCredential.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Authentication/updateCredential.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Authentication/updateCredential.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/BulkInsertOps/bulkInsert.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/BulkInsertOps/bulkInsert.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/BulkInsertOps/bulkInsert.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/BulkInsertOps/bulkInsert.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/BulkInsertOps/getBulkInsertState.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/BulkInsertOps/getBulkInsertState.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/BulkInsertOps/getBulkInsertState.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/BulkInsertOps/getBulkInsertState.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/BulkInsertOps/listBulkInsertTasks.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/BulkInsertOps/listBulkInsertTasks.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/BulkInsertOps/listBulkInsertTasks.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/BulkInsertOps/listBulkInsertTasks.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/BulkWriter/LocalBulkWriter.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/BulkWriter/LocalBulkWriter.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/BulkWriter/LocalBulkWriter.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/BulkWriter/LocalBulkWriter.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/BulkWriter/RemoteBulkWriter.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/BulkWriter/RemoteBulkWriter.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/BulkWriter/RemoteBulkWriter.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/BulkWriter/RemoteBulkWriter.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/alterCollection.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/alterCollection.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/alterCollection.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/alterCollection.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/createCollection.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/createCollection.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/createCollection.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/createCollection.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/delete.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/delete.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/delete.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/delete.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/describeCollection.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/describeCollection.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/describeCollection.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/describeCollection.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/dropCollection.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/dropCollection.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/dropCollection.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/dropCollection.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/flush.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/flush.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/flush.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/flush.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/getCollectionStatistics.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/getCollectionStatistics.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/getCollectionStatistics.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/getCollectionStatistics.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/getLoadState.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/getLoadState.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/getLoadState.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/getLoadState.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/getLoadingProgress.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/getLoadingProgress.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/getLoadingProgress.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/getLoadingProgress.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/getPersistentSegmentInfo.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/getPersistentSegmentInfo.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/getPersistentSegmentInfo.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/getPersistentSegmentInfo.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/getQuerySegmentInfo.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/getQuerySegmentInfo.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/getQuerySegmentInfo.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/getQuerySegmentInfo.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/getReplicas.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/getReplicas.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/getReplicas.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/getReplicas.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/insert.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/insert.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/insert.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/insert.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/insertAsync.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/insertAsync.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/insertAsync.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/insertAsync.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/loadCollection.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/loadCollection.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/loadCollection.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/loadCollection.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/releaseCollection.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/releaseCollection.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/releaseCollection.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/releaseCollection.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/renameCollection.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/renameCollection.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/renameCollection.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/renameCollection.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/showCollections.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/showCollections.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/showCollections.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/showCollections.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/upsert.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/upsert.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/upsert.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/upsert.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/upsertAsync.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/upsertAsync.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Collection/upsertAsync.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Collection/upsertAsync.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Connections/MilvusClient.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Connections/MilvusClient.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Connections/MilvusClient.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Connections/MilvusClient.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Connections/MilvusClientV1Pool.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Connections/MilvusClientV1Pool.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Connections/MilvusClientV1Pool.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Connections/MilvusClientV1Pool.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Database/alterDatabase.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Database/alterDatabase.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Database/alterDatabase.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Database/alterDatabase.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Database/createDatabase.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Database/createDatabase.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Database/createDatabase.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Database/createDatabase.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Database/dropDatabase.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Database/dropDatabase.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Database/dropDatabase.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Database/dropDatabase.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Database/listDatabases.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Database/listDatabases.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Database/listDatabases.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Database/listDatabases.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/HighlevelAPI/createCollection.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/HighlevelAPI/createCollection.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/HighlevelAPI/createCollection.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/HighlevelAPI/createCollection.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/HighlevelAPI/delete.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/HighlevelAPI/delete.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/HighlevelAPI/delete.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/HighlevelAPI/delete.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/HighlevelAPI/get.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/HighlevelAPI/get.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/HighlevelAPI/get.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/HighlevelAPI/get.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/HighlevelAPI/insert.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/HighlevelAPI/insert.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/HighlevelAPI/insert.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/HighlevelAPI/insert.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/HighlevelAPI/listCollections.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/HighlevelAPI/listCollections.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/HighlevelAPI/listCollections.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/HighlevelAPI/listCollections.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/HighlevelAPI/query.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/HighlevelAPI/query.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/HighlevelAPI/query.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/HighlevelAPI/query.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/HighlevelAPI/search.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/HighlevelAPI/search.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/HighlevelAPI/search.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/HighlevelAPI/search.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Index/alterIndex.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Index/alterIndex.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Index/alterIndex.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Index/alterIndex.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Index/createIndex.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Index/createIndex.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Index/createIndex.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Index/createIndex.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Index/describeIndex.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Index/describeIndex.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Index/describeIndex.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Index/describeIndex.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Index/dropIndex.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Index/dropIndex.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Index/dropIndex.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Index/dropIndex.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Index/getIndexBuildingProgress.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Index/getIndexBuildingProgress.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Index/getIndexBuildingProgress.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Index/getIndexBuildingProgress.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Index/getIndexState.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Index/getIndexState.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Index/getIndexState.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Index/getIndexState.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Management/getCompactionState.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Management/getCompactionState.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Management/getCompactionState.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Management/getCompactionState.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Management/getCompactionStateWithPlans.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Management/getCompactionStateWithPlans.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Management/getCompactionStateWithPlans.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Management/getCompactionStateWithPlans.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Management/getFlushAllState.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Management/getFlushAllState.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Management/getFlushAllState.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Management/getFlushAllState.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Management/getFlushState.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Management/getFlushState.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Management/getFlushState.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Management/getFlushState.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Management/getMetrics.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Management/getMetrics.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Management/getMetrics.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Management/getMetrics.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Management/loadBalance.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Management/loadBalance.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Management/loadBalance.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Management/loadBalance.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Management/manualCompact.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Management/manualCompact.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Management/manualCompact.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Management/manualCompact.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Misc/ConsistencyLevelEnum.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Misc/ConsistencyLevelEnum.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Misc/ConsistencyLevelEnum.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Misc/ConsistencyLevelEnum.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Misc/Constant.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Misc/Constant.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Misc/Constant.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Misc/Constant.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Misc/DataType.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Misc/DataType.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Misc/DataType.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Misc/DataType.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Misc/IndexType.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Misc/IndexType.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Misc/IndexType.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Misc/IndexType.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Misc/LogLevel.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Misc/LogLevel.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Misc/LogLevel.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Misc/LogLevel.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Misc/MetricType.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Misc/MetricType.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Misc/MetricType.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Misc/MetricType.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Misc/RT.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Misc/RT.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Misc/RT.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Misc/RT.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Partition/createPartition.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Partition/createPartition.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Partition/createPartition.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Partition/createPartition.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Partition/dropPartition.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Partition/dropPartition.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Partition/dropPartition.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Partition/dropPartition.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Partition/getPartitionStatistics.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Partition/getPartitionStatistics.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Partition/getPartitionStatistics.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Partition/getPartitionStatistics.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Partition/hasPartition.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Partition/hasPartition.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Partition/hasPartition.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Partition/hasPartition.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Partition/loadPartitions.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Partition/loadPartitions.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Partition/loadPartitions.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Partition/loadPartitions.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Partition/releasePartitions.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Partition/releasePartitions.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Partition/releasePartitions.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Partition/releasePartitions.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/Partition/showPartitions.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/Partition/showPartitions.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/Partition/showPartitions.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/Partition/showPartitions.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/QuerySearch/hybridSearch.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/QuerySearch/hybridSearch.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/QuerySearch/hybridSearch.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/QuerySearch/hybridSearch.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/QuerySearch/query.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/QuerySearch/query.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/QuerySearch/query.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/QuerySearch/query.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/QuerySearch/queryAsync.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/QuerySearch/queryAsync.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/QuerySearch/queryAsync.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/QuerySearch/queryAsync.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/QuerySearch/queryIterator.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/QuerySearch/queryIterator.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/QuerySearch/queryIterator.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/QuerySearch/queryIterator.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/QuerySearch/search.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/QuerySearch/search.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/QuerySearch/search.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/QuerySearch/search.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/QuerySearch/searchAsync.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/QuerySearch/searchAsync.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/QuerySearch/searchAsync.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/QuerySearch/searchAsync.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/QuerySearch/searchIterator.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/QuerySearch/searchIterator.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/QuerySearch/searchIterator.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/QuerySearch/searchIterator.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/RBAC/addUserToRole.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/RBAC/addUserToRole.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/RBAC/addUserToRole.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/RBAC/addUserToRole.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/RBAC/createRole.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/RBAC/createRole.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/RBAC/createRole.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/RBAC/createRole.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/RBAC/dropRole.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/RBAC/dropRole.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/RBAC/dropRole.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/RBAC/dropRole.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/RBAC/grantRolePrivilege.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/RBAC/grantRolePrivilege.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/RBAC/grantRolePrivilege.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/RBAC/grantRolePrivilege.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/RBAC/removeUserFromRole.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/RBAC/removeUserFromRole.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/RBAC/removeUserFromRole.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/RBAC/removeUserFromRole.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/RBAC/revokeRolePrivilege.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/RBAC/revokeRolePrivilege.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/RBAC/revokeRolePrivilege.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/RBAC/revokeRolePrivilege.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/RBAC/selectGrantForRole.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/RBAC/selectGrantForRole.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/RBAC/selectGrantForRole.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/RBAC/selectGrantForRole.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/RBAC/selectGrantForRoleAndObject.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/RBAC/selectGrantForRoleAndObject.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/RBAC/selectGrantForRoleAndObject.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/RBAC/selectGrantForRoleAndObject.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/RBAC/selectRole.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/RBAC/selectRole.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/RBAC/selectRole.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/RBAC/selectRole.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/RBAC/selectUser.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/RBAC/selectUser.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/RBAC/selectUser.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/RBAC/selectUser.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/ResourceGroup/createResourceGroup.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/ResourceGroup/createResourceGroup.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/ResourceGroup/createResourceGroup.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/ResourceGroup/createResourceGroup.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/ResourceGroup/describeResourceGroup.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/ResourceGroup/describeResourceGroup.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/ResourceGroup/describeResourceGroup.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/ResourceGroup/describeResourceGroup.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/ResourceGroup/dropResourceGroup.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/ResourceGroup/dropResourceGroup.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/ResourceGroup/dropResourceGroup.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/ResourceGroup/dropResourceGroup.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/ResourceGroup/listResourceGroups.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/ResourceGroup/listResourceGroups.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/ResourceGroup/listResourceGroups.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/ResourceGroup/listResourceGroups.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/ResourceGroup/transferNode.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/ResourceGroup/transferNode.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/ResourceGroup/transferNode.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/ResourceGroup/transferNode.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/ResourceGroup/transferReplica.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/ResourceGroup/transferReplica.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/ResourceGroup/transferReplica.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/ResourceGroup/transferReplica.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/System/checkHealth.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/System/checkHealth.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/System/checkHealth.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/System/checkHealth.md diff --git a/API_Reference/milvus-sdk-java/v2.4.x/v1/System/getVersion.md b/API_Reference/milvus-sdk-java/v2.5.x/v1/System/getVersion.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.4.x/v1/System/getVersion.md rename to API_Reference/milvus-sdk-java/v2.5.x/v1/System/getVersion.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Authentication/createRole.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Authentication/createRole.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Authentication/createRole.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Authentication/createRole.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Authentication/createUser.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Authentication/createUser.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Authentication/createUser.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Authentication/createUser.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Authentication/describeRole.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Authentication/describeRole.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Authentication/describeRole.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Authentication/describeRole.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Authentication/describeUser.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Authentication/describeUser.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Authentication/describeUser.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Authentication/describeUser.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Authentication/dropRole.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Authentication/dropRole.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Authentication/dropRole.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Authentication/dropRole.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Authentication/dropUser.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Authentication/dropUser.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Authentication/dropUser.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Authentication/dropUser.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Authentication/grantPrivilege.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Authentication/grantPrivilege.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Authentication/grantPrivilege.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Authentication/grantPrivilege.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Authentication/grantRole.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Authentication/grantRole.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Authentication/grantRole.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Authentication/grantRole.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Authentication/listRoles.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Authentication/listRoles.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Authentication/listRoles.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Authentication/listRoles.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Authentication/listUsers.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Authentication/listUsers.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Authentication/listUsers.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Authentication/listUsers.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Authentication/revokePrivilege.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Authentication/revokePrivilege.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Authentication/revokePrivilege.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Authentication/revokePrivilege.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Authentication/revokeRole.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Authentication/revokeRole.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Authentication/revokeRole.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Authentication/revokeRole.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Authentication/updatePassword.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Authentication/updatePassword.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Authentication/updatePassword.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Authentication/updatePassword.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Client/MilvusClientV2.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Client/MilvusClientV2.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Client/MilvusClientV2.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Client/MilvusClientV2.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Client/MilvusClientV2Pool.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Client/MilvusClientV2Pool.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Client/MilvusClientV2Pool.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Client/MilvusClientV2Pool.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Collections/CollectionSchema/CollectionSchema.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Collections/CollectionSchema/CollectionSchema.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Collections/CollectionSchema/CollectionSchema.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Collections/CollectionSchema/CollectionSchema.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Collections/CollectionSchema/addField.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Collections/CollectionSchema/addField.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Collections/CollectionSchema/addField.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Collections/CollectionSchema/addField.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Collections/CollectionSchema/getField.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Collections/CollectionSchema/getField.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Collections/CollectionSchema/getField.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Collections/CollectionSchema/getField.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Collections/ConsistencyLevel.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Collections/ConsistencyLevel.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Collections/ConsistencyLevel.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Collections/ConsistencyLevel.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Collections/DataType.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Collections/DataType.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Collections/DataType.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Collections/DataType.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Collections/FieldSchema.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Collections/FieldSchema.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Collections/FieldSchema.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Collections/FieldSchema.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Collections/alterAlias.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Collections/alterAlias.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Collections/alterAlias.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Collections/alterAlias.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Collections/createAlias.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Collections/createAlias.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Collections/createAlias.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Collections/createAlias.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Collections/createCollection.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Collections/createCollection.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Collections/createCollection.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Collections/createCollection.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Collections/createSchema.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Collections/createSchema.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Collections/createSchema.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Collections/createSchema.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Collections/describeAlias.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Collections/describeAlias.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Collections/describeAlias.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Collections/describeAlias.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Collections/describeCollection.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Collections/describeCollection.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Collections/describeCollection.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Collections/describeCollection.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Collections/dropAlias.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Collections/dropAlias.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Collections/dropAlias.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Collections/dropAlias.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Collections/dropCollection.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Collections/dropCollection.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Collections/dropCollection.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Collections/dropCollection.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Collections/getCollectionStats.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Collections/getCollectionStats.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Collections/getCollectionStats.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Collections/getCollectionStats.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Collections/hasCollection.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Collections/hasCollection.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Collections/hasCollection.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Collections/hasCollection.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Collections/listAliases.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Collections/listAliases.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Collections/listAliases.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Collections/listAliases.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Collections/renameCollection.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Collections/renameCollection.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Collections/renameCollection.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Collections/renameCollection.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Database/alterDatabase.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Database/alterDatabase.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Database/alterDatabase.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Database/alterDatabase.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Database/createDatabase.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Database/createDatabase.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Database/createDatabase.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Database/createDatabase.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Database/describeDatabase.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Database/describeDatabase.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Database/describeDatabase.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Database/describeDatabase.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Database/dropDatabase.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Database/dropDatabase.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Database/dropDatabase.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Database/dropDatabase.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Database/listDatabases.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Database/listDatabases.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Database/listDatabases.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Database/listDatabases.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Management/IndexParam.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Management/IndexParam.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Management/IndexParam.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Management/IndexParam.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Management/IndexType.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Management/IndexType.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Management/IndexType.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Management/IndexType.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Management/MetricType.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Management/MetricType.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Management/MetricType.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Management/MetricType.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Management/createIndex.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Management/createIndex.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Management/createIndex.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Management/createIndex.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Management/describeIndex.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Management/describeIndex.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Management/describeIndex.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Management/describeIndex.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Management/dropIndex.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Management/dropIndex.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Management/dropIndex.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Management/dropIndex.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Management/getLoadState.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Management/getLoadState.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Management/getLoadState.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Management/getLoadState.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Management/loadCollection.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Management/loadCollection.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Management/loadCollection.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Management/loadCollection.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Management/releaseCollection.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Management/releaseCollection.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Management/releaseCollection.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Management/releaseCollection.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Partitions/createPartition.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Partitions/createPartition.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Partitions/createPartition.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Partitions/createPartition.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Partitions/dropPartition.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Partitions/dropPartition.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Partitions/dropPartition.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Partitions/dropPartition.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Partitions/hasPartition.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Partitions/hasPartition.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Partitions/hasPartition.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Partitions/hasPartition.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Partitions/listPartitions.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Partitions/listPartitions.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Partitions/listPartitions.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Partitions/listPartitions.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Partitions/loadPartitions.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Partitions/loadPartitions.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Partitions/loadPartitions.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Partitions/loadPartitions.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Partitions/releasePartitions.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Partitions/releasePartitions.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Partitions/releasePartitions.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Partitions/releasePartitions.md diff --git a/API_Reference/milvus-sdk-node/v2.5.x/About.md b/API_Reference/milvus-sdk-node/v2.5.x/About.md new file mode 100644 index 000000000..3fb95f89b --- /dev/null +++ b/API_Reference/milvus-sdk-node/v2.5.x/About.md @@ -0,0 +1,257 @@ +# About Milvus-sdk-node + +Milvus-sdk-node is a node.js SDK for Milvus, an open-source vector database. Its source code is available on [GitHub](https://github.com/milvus-io/milvus-sdk-node). + +## Compatibility + +The following collection shows Milvus versions and recommended @zilliz/milvus2-sdk-node versions: + +| Milvus version | Node sdk version | Installation | +| :------------: | :--------------: | :---------------------------------- | +| v2.2.0+ | **latest** | `yarn add @zilliz/milvus2-sdk-node` | +| v2.3.0+ | **latest** | `yarn add @zilliz/milvus2-sdk-node` | +| v2.4.0+ | **latest** | `yarn add @zilliz/milvus2-sdk-node` | +| v2.5.0+ | **latest** | `yarn add @zilliz/milvus2-sdk-node` | + +## Dependencies + +- [Milvus](https://milvus.io/) +- [Zilliz Cloud](https://cloud.zilliz.com/signup) +- Node: v14+ + +## Installation + +The recommended way to get started using the Milvus node.js client is by using npm (Node package manager) to install the dependency in your project. + +```javascript +npm install @zilliz/milvus2-sdk-node +# or ... +yarn add @zilliz/milvus2-sdk-node +``` + +This will download the Milvus node.js client and add a dependency entry in your package.json file. + +## Quick Start + +This guide will show you how to set up a simple application using Node.js and Milvus. Its scope is only how to set up the node.js client and perform the simple CRUD operations. For more in-depth coverage, see the [Milvus official website](https://milvus.io/). + +### Create the package.json file + +First, create a directory where your application will live. + +``` +mkdir myProject +cd myProject +``` + +Enter the following command and answer the questions to create the initial structure for your new project: + +```shell +npm init -y +``` + +Next, install this client as a dependency. + +```shell +npm install @zilliz/milvus2-sdk-node +``` + +### Start a milvus server + +```shell +# Download the milvus standalone yaml file +$ wget https://github.com/milvus-io/milvus/releases/download/v2.2.8/milvus-standalone-docker-compose.yml -O docker-compose.yml + +# start the milvus server +sudo docker-compose up -d +``` + +### Connect to Milvus + +Create a new app.js file and add the following code to try out some basic vector operations using the Milvus node.js client. + +```javascript +import { MilvusClient, DataType } from "@zilliz/milvus2-sdk-node"; + +const address = "your-milvus-ip"; +const username = "your-milvus-username"; // optional username +const password = "your-milvus-password"; // optional password +const ssl = false; // secure or not + +// connect to milvus +const client = new MilvusClient({ address, ssl, username, password }); +``` + +| Parameters | Description | Type | Example | +| --------------- | ------------------------------------------------------------------------------------------------------------------------ | ------- | ------------------- | +| address | The Milvus IP address | String | '192.168.0.1:19530' | +| ssl? | SSL connection. It is false by default. | Boolean | false | +| username? | The username used to connect to Milvus | String | milvus | +| password? | The password used to connect to Milvus | String | milvus | +| maxRetries? | The number of retries for the grpc method, by default: 3 | Number | 3 | +| retryDelay? | The delay between attempts at retrying a failed grpc method in ms, by default: 30 | Number | 30 | +| channelOptions? | an optional configuration object that can be passed to a gRPC client when creating a channel to connect to a gRPC server | Number | 30 | + +### define schema for collection + +The code shows an example of how to define a schema for a collection in Milvus using the Milvus Node SDK. A schema defines the properties of a collection, such as the names and data types of the fields that make up the vectors. + +```javascript +// define schema +const collection_name = `book`; +const dim = 128; +const schema = [ + { + name: `book_id`, + description: `customized primary id`, + data_type: DataType.Int64, + is_primary_key: true, + autoID: false, + }, + { + name: `word_count`, + description: `word count`, + data_type: DataType.Int64, + }, + { + name: `book_intro`, + description: `word count`, + data_type: DataType.FloatVector, + dim: dim, + }, +]; +``` + +In the code, the schema variable is defined as an array of objects, where each object represents a field in the collection. The fields are defined using the following properties: + +`name`: The name of the field, which must be unique within the collection. + +`description`: A description of the field, which can be used to provide additional information about the field. + +`data_type`: The data type of the field, which can be one of several predefined data types such as Int64 or FloatVector. + +`is_primary_key`: A boolean flag that indicates whether the field is a primary key. Primary keys are unique identifiers for each vector in the collection, and can be used to efficiently retrieve specific vectors. + +`autoID`: A boolean flag that indicates whether the primary key is automatically generated by Milvus. + +`dim`: The dimensionality of the vector field. For fields of type FloatVector, this specifies the number of dimensions in each vector. + +### create collection + +```javascript +await client.createCollection({ + collection_name, + description: `my first collection`, + fields: schema, +}); +``` + +### prepare data + +When using the Milvus Node SDK to insert data into a collection, it's important to ensure that the data format of the input matches the schema defined for the collection. The data format used by the Milvus Node SDK consists of an array of objects, where each object represents an entity. Typically, each object contains a unique identifier for the entity, which can be an integer or string, and a vector field that stores the feature values as an array of floating-point numbers. + +```javascript +// generate mock data +const fields_data = []; + +// generate mock data +for (let i = 0; i < 1000; i++) { + // create a new object with random values for each field + const r = { + book_id: Math.floor(Math.random() * 100000), // generate a random book ID + word_count: Math.floor(Math.random() * 1000), // generate a random word count + book_intro: [...Array(dim)].map(() => Math.random()), // generate a random vector for book_intro + }; + // add the new object to the fields_data array + fields_data.push(r); +} +``` + +### insert data into collection + +Once we have the data, you can insert data into the collection. + +```javascript +await client.insert({ + collection_name, + fields_data, +}); +``` + +### create index + +By creating an index and loading the collection into memory, you can improve the performance of search and retrieval operations in Milvus, making it faster and more efficient to work with large-scale datasets. + +```javascript +// create index +await client.createIndex({ + collection_name, + field_name: "book_intro", + index_name: "myindex", + index_type: "HNSW", + params: { efConstruction: 10, M: 4 }, + metric_type: "L2", +}); +``` + +Milvus supports [several different types of indexes](https://milvus.io/docs/index.md), each of which is optimized for different use cases and data distributions. Some of the most commonly used index types in Milvus include IVF_FLAT, IVF_SQ8, IVF_PQ, and HNSW. When creating an index in Milvus, you must choose an appropriate index type based on your specific use case and data distribution. + +`collection_name`: The name of the collection to create the index for. + +`field_name`: The name of the field to create the index on. + +`index_name`: The name of the index to create. + +`index_type`: The type of index to create. + +`param`: The index build parameters, please refer to the [index docs](https://milvus.io/docs/index.md). + +`metric_type`: The distance metric to use when computing the similarity between vectors. In this case, the metric type is set to L2, which is a commonly used metric for computing the Euclidean distance between vectors. + +### load collection + +When you create a collection in Milvus, the collection data is initially stored on disk, and it is not immediately available for search and retrieval. In order to search or retrieve data from the collection, you must first load the collection into memory using the loadCollectionSync method. + +```javascript +// load collection +await client.loadCollectionSync({ + collection_name, +}); +``` + +### vector search + +Now you can perform vector search on your collection. + +```javascript +// Generate a random search vector +const searchVector = [...Array(dim)].map(() => Math.random()); + +// Perform a vector search on the collection +const res = await client.search({ + collection_name, // required, the collection name + vector: [0.1, 0.2, 0.3, 0.4], // required, vector used to compare other vectors in milvus + filter: "word_count > 0", // optional, filter + params: { nprobe: 64 }, // optional, specify the search parameters + limit: 1, // specify the number of nearest neighbors to return + metric_type: "L2", // optional, metric to calculate similarity of two vectors + output_fields: ["book_id", "word_count"], // optional, specify the fields to return in the search results +}); +``` + +The code snippet performs a vector search on the collection. + +First, a random search vector is generated. Then, the `client.search()` method is called with several parameters: +`collection_name`: Required. Specifies the name of the Milvus collection to search. + +`vectors`: Required. Specifies the vector used to compare other vectors in Milvus. The example code passes an array of floating-point numbers as the vector. + +`filter` or `expr`: Optional. Specifies a filter to apply to the search query. The example code passes a filter that only includes vectors where the word_count field is greater than 0. + +`params`: Optional. Specifies additional search parameters. The example code sets nprobe to 64, which controls the number of clusters to search during the query. By default, nothing will be set. + +`limit` or `topk`: Optional. Specifies the number of nearest neighbors to return. The example code sets this to 1. By default, it will be `100` + +`metric_type`: Optional. Specifies the metric used to calculate the similarity of two vectors. The example code sets this to `"L2"`. By default, it will be `"L2"`. + +`output_fields`: Optional. Specifies which fields to include in the search results. The example code specifies the `book_id` and `word_count` fields, by default the node sdk will output all fields. diff --git a/API_Reference/pymilvus/v2.5.x/About.md b/API_Reference/pymilvus/v2.5.x/About.md new file mode 100644 index 000000000..915b193f0 --- /dev/null +++ b/API_Reference/pymilvus/v2.5.x/About.md @@ -0,0 +1,150 @@ +# About PyMilvus + +PyMilvus is a Python SDK of Milvus. Its source code is open-sourced and hosted on [GitHub](https://github.com/milvus-io/pymilvus). + +
+ +In this release, you have the flexibility to choose MilvusClient or the original ORM module to talk with Milvus. + +
+ +## Compatibility + +| Milvus version | Recommended PyMilvus version | +| -------------- | ---------------------------- | +| 1.0.x | 1.0.1 | +| 1.1.x | 1.1.2 | +| 2.0.x | 2.0.2 | +| 2.1.x | 2.1.3 | +| 2.2.x | 2.2.3 | +| 2.3.x | 2.3.7 | +| 2.4.x | 2.4.4 | +| 2.5.x | 2.5.0 | + +## Install & Update + +You can run the following command to install the latest PyMilvus or update your PyMilvus to this version. + +```shell +pip install --upgrade pymilvus==v2.5.0 +``` + +After the installation, you can check the PyMilvus version by running the following + +```python +from pymilvus import __version__ + +print(__version__) + +# v2.5.0 +``` + +To install the Model library for embedding operations, run the following command: + +```shell +pip install pymilvus[model] +``` + +For details, refer to the Model library documents and examples. + +## Connect to Milvus + +```python +from pymilvus import MilvusClient + +# Authentication not enabled +client = MilvusClient("http://localhost:19530") + +# Authentication enabled with the root user +client = MilvusClient( + uri="http://localhost:19530", + token="root:Milvus", + db_name="default" +) + +# Authentication enabled with a non-root user +client = MilvusClient( + uri="http://localhost:19530", + token="user:password", # replace this with your token + db_name="default" +) +``` + +## What's New + +In this version, PyMilvus adds a MilvusClient module that incorporates several functional methods, aligning its functionality overall with that of the legacy ORM module. + +### Collection-related methods + +- [create_collection()](MilvusClient/Collections/create_collection.md) +- [rename_collection()](MilvusClient/Collections/rename_collection.md) +- [describe_collection()](MilvusClient/Collections/describe_collection.md) +- [has_collection()](MilvusClient/Collections/has_collection.md) +- [list_collections()](MilvusClient/Collections/list_collections.md) +- [drop_collection()](MilvusClient/Collections/drop_collection.md) +- [get_collection_stats()](MilvusClient/Collections/get_collection_stats.md) +- [load_collection()](MilvusClient/Management/load_collection.md) +- [release_collection()](MilvusClient/Management/release_collection.md) +- [get_load_state()](MilvusClient/Management/get_load_state.md) +- [refresh_load()](MilvusClient/Management/refresh_load.md) + +### Data-related methods + +- [insert()](MilvusClient/Vector/insert.md) +- [upsert()](MilvusClient/Vector/upsert.md) +- [search()](MilvusClient/Vector/search.md) +- [query()](MilvusClient/Vector/query.md) +- [delete()](MilvusClient/Vector/delete.md) + +### Alias-related methods + +- [create_alias()](MilvusClient/Collections/create_alias.md) +- [drop_alias()](MilvusClient/Collections/drop_alias.md) +- [alter_alias()](MilvusClient/Collections/alter_alias.md) +- [describe_alias()](MilvusClient/Collections/describe_alias.md) +- [list_aliases()](MilvusClient/Collections/list_aliases.md) + +### Partition-related methods + +- [create_partition()](MilvusClient/Partitions/create_partition.md) +- [drop_partition()](MilvusClient/Partitions/drop_partition.md) +- [has_partition()](MilvusClient/Partitions/has_partition.md) +- [list_partitions()](MilvusClient/Partitions/list_partitions.md) +- [load_partitions()](MilvusClient/Partitions/load_partitions.md) +- [release_partitions()](MilvusClient/Partitions/release_partitions.md) +- [get_partition_stats()](MilvusClient/Partitions/get_partition_stats.md) + +### Index-related methods + +- [create_index()](MilvusClient/Management/create_index.md) +- [list_indexes()](MilvusClient/Management/list_indexes.md) +- [drop_index](MilvusClient/Management/drop_index.md) +- [describe_index()](MilvusClient/Management/describe_index.md) + +### User- and RBAC-related methods + +- [create_user()](MilvusClient/Authentication/create_user.md) +- [drop_user()](MilvusClient/Authentication/drop_user.md) +- [update_password()](MilvusClient/Authentication/update_password.md) +- [list_users()](MilvusClient/Authentication/list_users.md) +- [describe_user()](MilvusClient/Authentication/describe_user.md) +- [grant_role()](MilvusClient/Authentication/grant_role.md) +- [revoke_role()](MilvusClient/Authentication/revoke_role.md) +- [create_role()](MilvusClient/Authentication/create_role.md) +- [drop_role()](MilvusClient/Authentication/drop_role.md) +- [describe_role()](MilvusClient/Authentication/describe_role.md) +- [list_roles()](MilvusClient/Authentication/list_roles.md) +- [grant_privilege()](MilvusClient/Authentication/grant_privilege.md) +- [revoke_privileges()](MilvusClient/Authentication/revoke_privileges.md) + +## Examples + +In addition to the documents, you can also refer to the example sets in our GitHub repo. + +## Feedback & Issues + +If you are having trouble or have questions about PyMilvus, ask your question on our PyMilvus Community Forum. Once you get an answer, it’d be great if you could work it back into this documentation and contribute! + +## Contributing + +We are committed to building a collaborative, exuberant open-source community for PyMilvus. Therefore, contributions to PyMilvus are welcome from everyone. Refer to [Contributing Guideline](https://github.com/milvus-io/pymilvus/blob/master/CONTRIBUTING.md) before making contributions to this project. You can [file an issue](https://github.com/milvus-io/pymilvus/issues/new/choose) or contact us on [Slack](https://github.com/milvus-io/pymilvus#readme) if you need any assistance or want to propose your ideas about PyMilvus. diff --git a/v2.5.x/yarn.lock b/v2.5.x/yarn.lock index a1453c8fa..b2a0815da 100644 --- a/v2.5.x/yarn.lock +++ b/v2.5.x/yarn.lock @@ -4,21 +4,21 @@ argparse@^1.0.10: version "1.0.10" - resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" + resolved "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz" integrity sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg== dependencies: sprintf-js "~1.0.2" autolinker@^3.11.0: version "3.16.2" - resolved "https://registry.yarnpkg.com/autolinker/-/autolinker-3.16.2.tgz#6bb4f32432fc111b65659336863e653973bfbcc9" + resolved "https://registry.npmjs.org/autolinker/-/autolinker-3.16.2.tgz" integrity sha512-JiYl7j2Z19F9NdTmirENSUUIIL/9MytEWtmzhfmsKPCp9E+G35Y0UNCMoM9tFigxT59qSc8Ml2dlZXOCVTYwuA== dependencies: tslib "^2.3.0" remarkable@^2.0.1: version "2.0.1" - resolved "https://registry.yarnpkg.com/remarkable/-/remarkable-2.0.1.tgz#280ae6627384dfb13d98ee3995627ca550a12f31" + resolved "https://registry.npmjs.org/remarkable/-/remarkable-2.0.1.tgz" integrity sha512-YJyMcOH5lrR+kZdmB0aJJ4+93bEojRZ1HGDn9Eagu6ibg7aVZhc3OWbbShRid+Q5eAfsEqWxpe+g5W5nYNfNiA== dependencies: argparse "^1.0.10" @@ -26,10 +26,10 @@ remarkable@^2.0.1: sprintf-js@~1.0.2: version "1.0.3" - resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" + resolved "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz" integrity sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g== tslib@^2.3.0: version "2.6.3" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.3.tgz#0438f810ad7a9edcde7a241c3d80db693c8cbfe0" + resolved "https://registry.npmjs.org/tslib/-/tslib-2.6.3.tgz" integrity sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ== diff --git a/yarn.lock b/yarn.lock index 3b793c12a..20628fd00 100644 --- a/yarn.lock +++ b/yarn.lock @@ -23,7 +23,7 @@ resolved "https://registry.npmmirror.com/@babel/compat-data/-/compat-data-7.25.4.tgz" integrity sha512-+LGRog6RAsCJrrrg/IO6LGmpphNe5DiK30dGjCoxxeGv49B10/3XYGxPsAwrDlMFcFEvdAUavDT8r9k/hSyQqQ== -"@babel/core@^7.25.2": +"@babel/core@^7.0.0", "@babel/core@^7.0.0-0", "@babel/core@^7.25.2": version "7.25.2" resolved "https://registry.npmmirror.com/@babel/core/-/core-7.25.2.tgz" integrity sha512-BBt3opiCOxUr9euZ5/ro/Xv8/V7yJ5bjYMqG/C1YAo8MIKAnumZalCN+msbci3Pigy4lIQfPUpfMM27HMGaYEA== @@ -344,6 +344,19 @@ resolved "https://registry.npmmirror.com/@types/ms/-/ms-0.7.34.tgz" integrity sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g== +"@types/prop-types@*": + version "15.7.13" + resolved "https://registry.npmmirror.com/@types/prop-types/-/prop-types-15.7.13.tgz" + integrity sha512-hCZTSvwbzWGvhqxp/RqVqwU999pBf2vp7hzIjiYOsl8wqOmUxkQ6ddw1cV3l8811+kdUFus/q4d1Y3E3SyEifA== + +"@types/react@>=16": + version "18.3.8" + resolved "https://registry.npmmirror.com/@types/react/-/react-18.3.8.tgz" + integrity sha512-syBUrW3/XpnW4WJ41Pft+I+aPoDVbrBVQGEnbD7NijDGlVC+8gV/XKRY+7vMDlfPpbwYt0l1vd/Sj8bJGMbs9Q== + dependencies: + "@types/prop-types" "*" + csstype "^3.0.2" + "@types/unist@*", "@types/unist@^3.0.0": version "3.0.3" resolved "https://registry.npmmirror.com/@types/unist/-/unist-3.0.3.tgz" @@ -369,7 +382,7 @@ acorn-jsx@^5.0.0: resolved "https://registry.npmmirror.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz" integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== -acorn@^8.0.0: +"acorn@^6.0.0 || ^7.0.0 || ^8.0.0", acorn@^8.0.0: version "8.12.1" resolved "https://registry.npmmirror.com/acorn/-/acorn-8.12.1.tgz" integrity sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg== @@ -431,7 +444,7 @@ boolbase@^1.0.0: resolved "https://registry.npmmirror.com/boolbase/-/boolbase-1.0.0.tgz" integrity sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww== -browserslist@^4.23.1: +browserslist@^4.23.1, "browserslist@>= 4.21.0": version "4.23.3" resolved "https://registry.npmmirror.com/browserslist/-/browserslist-4.23.3.tgz" integrity sha512-btwCFJVjI4YWDNfau8RhZ+B1Q/VLoUITrm3RlP6y1tYGWIOa+InuYiRGXUBXo8nA1qKmHMyLB/iVQg5TT4eFoA== @@ -542,6 +555,11 @@ cssstyle@^4.0.1: dependencies: rrweb-cssom "^0.6.0" +csstype@^3.0.2: + version "3.1.3" + resolved "https://registry.npmmirror.com/csstype/-/csstype-3.1.3.tgz" + integrity sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw== + data-urls@^5.0.0: version "5.0.0" resolved "https://registry.npmmirror.com/data-urls/-/data-urls-5.0.0.tgz" @@ -550,7 +568,7 @@ data-urls@^5.0.0: whatwg-mimetype "^4.0.0" whatwg-url "^14.0.0" -debug@4, debug@^4.0.0, debug@^4.1.0, debug@^4.3.1, debug@^4.3.4: +debug@^4.0.0, debug@^4.1.0, debug@^4.3.1, debug@^4.3.4, debug@4: version "4.3.6" resolved "https://registry.npmmirror.com/debug/-/debug-4.3.6.tgz" integrity sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg== @@ -586,14 +604,6 @@ devlop@^1.0.0, devlop@^1.1.0: dependencies: dequal "^2.0.0" -dom-serializer@0: - version "0.2.2" - resolved "https://registry.npmmirror.com/dom-serializer/-/dom-serializer-0.2.2.tgz" - integrity sha512-2/xPb3ORsQ42nHYiSunXkDjPLBaEj/xTwUO4B7XCZQTRk7EBtTOPaygh10YAAh2OI1Qrp6NWfpAhzswj0ydt9g== - dependencies: - domelementtype "^2.0.1" - entities "^2.0.0" - dom-serializer@^1.0.1: version "1.4.1" resolved "https://registry.npmmirror.com/dom-serializer/-/dom-serializer-1.4.1.tgz" @@ -603,7 +613,15 @@ dom-serializer@^1.0.1: domhandler "^4.2.0" entities "^2.0.0" -domelementtype@1, domelementtype@^1.3.1: +dom-serializer@0: + version "0.2.2" + resolved "https://registry.npmmirror.com/dom-serializer/-/dom-serializer-0.2.2.tgz" + integrity sha512-2/xPb3ORsQ42nHYiSunXkDjPLBaEj/xTwUO4B7XCZQTRk7EBtTOPaygh10YAAh2OI1Qrp6NWfpAhzswj0ydt9g== + dependencies: + domelementtype "^2.0.1" + entities "^2.0.0" + +domelementtype@^1.3.1, domelementtype@1: version "1.3.1" resolved "https://registry.npmmirror.com/domelementtype/-/domelementtype-1.3.1.tgz" integrity sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w== @@ -853,7 +871,7 @@ hast-util-whitespace@^3.0.0: dependencies: "@types/hast" "^3.0.0" -he@1.2.0, he@^1.0.0: +he@^1.0.0, he@1.2.0: version "1.2.0" resolved "https://registry.npmmirror.com/he/-/he-1.2.0.tgz" integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw== @@ -929,16 +947,16 @@ iconv-lite@0.6.3: dependencies: safer-buffer ">= 2.1.2 < 3.0.0" -inherits@2.0.3: - version "2.0.3" - resolved "https://registry.npmmirror.com/inherits/-/inherits-2.0.3.tgz" - integrity sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw== - inherits@^2.0.1, inherits@^2.0.3: version "2.0.4" resolved "https://registry.npmmirror.com/inherits/-/inherits-2.0.4.tgz" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== +inherits@2.0.3: + version "2.0.3" + resolved "https://registry.npmmirror.com/inherits/-/inherits-2.0.3.tgz" + integrity sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw== + inline-style-parser@0.1.1: version "0.1.1" resolved "https://registry.npmmirror.com/inline-style-parser/-/inline-style-parser-0.1.1.tgz" @@ -1653,7 +1671,7 @@ react-dom@^18.3.1: loose-envify "^1.1.0" scheduler "^0.23.2" -react@^18.3.1: +react@^18.3.1, react@>=16: version "18.3.1" resolved "https://registry.npmmirror.com/react/-/react-18.3.1.tgz" integrity sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ== From 1210e8ab7374a8e9f636d92b362e47fd627c2a31 Mon Sep 17 00:00:00 2001 From: AnthonyTsu1984 <115786031+AnthonyTsu1984@users.noreply.github.com> Date: Thu, 28 Nov 2024 10:18:59 +0800 Subject: [PATCH 2/2] update docs Signed-off-by: AnthonyTsu1984 <115786031+AnthonyTsu1984@users.noreply.github.com> --- API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Vector/delete.md | 0 API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Vector/get.md | 0 .../milvus-sdk-java/v2.5.x/{ => v2}/Vector/hybridSearch.md | 0 API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Vector/insert.md | 0 API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Vector/query.md | 0 .../milvus-sdk-java/v2.5.x/{ => v2}/Vector/queryIterator.md | 0 API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Vector/search.md | 0 .../milvus-sdk-java/v2.5.x/{ => v2}/Vector/searchIterator.md | 0 API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Vector/upsert.md | 0 9 files changed, 0 insertions(+), 0 deletions(-) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Vector/delete.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Vector/get.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Vector/hybridSearch.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Vector/insert.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Vector/query.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Vector/queryIterator.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Vector/search.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Vector/searchIterator.md (100%) rename API_Reference/milvus-sdk-java/v2.5.x/{ => v2}/Vector/upsert.md (100%) diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Vector/delete.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Vector/delete.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Vector/delete.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Vector/delete.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Vector/get.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Vector/get.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Vector/get.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Vector/get.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Vector/hybridSearch.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Vector/hybridSearch.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Vector/hybridSearch.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Vector/hybridSearch.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Vector/insert.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Vector/insert.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Vector/insert.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Vector/insert.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Vector/query.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Vector/query.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Vector/query.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Vector/query.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Vector/queryIterator.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Vector/queryIterator.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Vector/queryIterator.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Vector/queryIterator.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Vector/search.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Vector/search.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Vector/search.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Vector/search.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Vector/searchIterator.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Vector/searchIterator.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Vector/searchIterator.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Vector/searchIterator.md diff --git a/API_Reference/milvus-sdk-java/v2.5.x/Vector/upsert.md b/API_Reference/milvus-sdk-java/v2.5.x/v2/Vector/upsert.md similarity index 100% rename from API_Reference/milvus-sdk-java/v2.5.x/Vector/upsert.md rename to API_Reference/milvus-sdk-java/v2.5.x/v2/Vector/upsert.md