@zilliz/milvus2-sdk-node 2.6.3 → 2.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/milvus/const/milvus.d.ts +2 -0
- package/dist/milvus/const/milvus.js +3 -0
- package/dist/milvus/const/milvus.js.map +1 -1
- package/dist/milvus/grpc/Data.js +111 -104
- package/dist/milvus/grpc/Data.js.map +1 -1
- package/dist/milvus/proto-json/milvus.base.d.ts +32 -3
- package/dist/milvus/proto-json/milvus.base.js +36 -7
- package/dist/milvus/proto-json/milvus.base.js.map +1 -1
- package/dist/milvus/proto-json/milvus.d.ts +32 -3
- package/dist/milvus/proto-json/milvus.js +36 -7
- package/dist/milvus/proto-json/milvus.js.map +1 -1
- package/dist/milvus/proto-json/schema.base.d.ts +23 -3
- package/dist/milvus/proto-json/schema.base.js +24 -4
- package/dist/milvus/proto-json/schema.base.js.map +1 -1
- package/dist/milvus/types/DataTypes.d.ts +3 -2
- package/dist/milvus/utils/Schema.js +21 -0
- package/dist/milvus/utils/Schema.js.map +1 -1
- package/dist/milvus/utils/Search.js +8 -3
- package/dist/milvus/utils/Search.js.map +1 -1
- package/dist/milvus/utils/Validate.js +34 -15
- package/dist/milvus/utils/Validate.js.map +1 -1
- package/dist/sdk.json +1 -1
- package/package.json +2 -2
|
@@ -3086,6 +3086,10 @@ declare const _default: {
|
|
|
3086
3086
|
type: string;
|
|
3087
3087
|
id: number;
|
|
3088
3088
|
};
|
|
3089
|
+
target_size: {
|
|
3090
|
+
type: string;
|
|
3091
|
+
id: number;
|
|
3092
|
+
};
|
|
3089
3093
|
};
|
|
3090
3094
|
};
|
|
3091
3095
|
ManualCompactionResponse: {
|
|
@@ -5293,6 +5297,11 @@ declare const _default: {
|
|
|
5293
5297
|
};
|
|
5294
5298
|
};
|
|
5295
5299
|
UpdateReplicateConfigurationRequest: {
|
|
5300
|
+
options: {
|
|
5301
|
+
"(common.privilege_ext_obj).object_type": string;
|
|
5302
|
+
"(common.privilege_ext_obj).object_privilege": string;
|
|
5303
|
+
"(common.privilege_ext_obj).object_name_index": number;
|
|
5304
|
+
};
|
|
5296
5305
|
fields: {
|
|
5297
5306
|
replicate_configuration: {
|
|
5298
5307
|
type: string;
|
|
@@ -5722,6 +5731,7 @@ declare const _default: {
|
|
|
5722
5731
|
AlterDatabase: number;
|
|
5723
5732
|
DescribeDatabase: number;
|
|
5724
5733
|
AddCollectionField: number;
|
|
5734
|
+
AlterWAL: number;
|
|
5725
5735
|
};
|
|
5726
5736
|
};
|
|
5727
5737
|
MsgBase: {
|
|
@@ -5910,9 +5920,7 @@ declare const _default: {
|
|
|
5910
5920
|
PrivilegeAddFileResource: number;
|
|
5911
5921
|
PrivilegeRemoveFileResource: number;
|
|
5912
5922
|
PrivilegeListFileResources: number;
|
|
5913
|
-
|
|
5914
|
-
PrivilegeAlterCollectionFunction: number;
|
|
5915
|
-
PrivilegeDropCollectionFunction: number;
|
|
5923
|
+
PrivilegeUpdateReplicateConfiguration: number;
|
|
5916
5924
|
};
|
|
5917
5925
|
};
|
|
5918
5926
|
PrivilegeExt: {
|
|
@@ -6391,6 +6399,10 @@ declare const _default: {
|
|
|
6391
6399
|
type: string;
|
|
6392
6400
|
id: number;
|
|
6393
6401
|
};
|
|
6402
|
+
external_field: {
|
|
6403
|
+
type: string;
|
|
6404
|
+
id: number;
|
|
6405
|
+
};
|
|
6394
6406
|
};
|
|
6395
6407
|
};
|
|
6396
6408
|
FunctionSchema: {
|
|
@@ -6497,6 +6509,18 @@ declare const _default: {
|
|
|
6497
6509
|
type: string;
|
|
6498
6510
|
id: number;
|
|
6499
6511
|
};
|
|
6512
|
+
version: {
|
|
6513
|
+
type: string;
|
|
6514
|
+
id: number;
|
|
6515
|
+
};
|
|
6516
|
+
external_source: {
|
|
6517
|
+
type: string;
|
|
6518
|
+
id: number;
|
|
6519
|
+
};
|
|
6520
|
+
external_spec: {
|
|
6521
|
+
type: string;
|
|
6522
|
+
id: number;
|
|
6523
|
+
};
|
|
6500
6524
|
};
|
|
6501
6525
|
};
|
|
6502
6526
|
StructArrayFieldSchema: {
|
|
@@ -6518,6 +6542,11 @@ declare const _default: {
|
|
|
6518
6542
|
type: string;
|
|
6519
6543
|
id: number;
|
|
6520
6544
|
};
|
|
6545
|
+
type_params: {
|
|
6546
|
+
rule: string;
|
|
6547
|
+
type: string;
|
|
6548
|
+
id: number;
|
|
6549
|
+
};
|
|
6521
6550
|
};
|
|
6522
6551
|
};
|
|
6523
6552
|
BoolArray: {
|
|
@@ -1901,7 +1901,7 @@ exports.default = {
|
|
|
1901
1901
|
"AddCollectionFunctionRequest": {
|
|
1902
1902
|
"options": {
|
|
1903
1903
|
"(common.privilege_ext_obj).object_type": "Collection",
|
|
1904
|
-
"(common.privilege_ext_obj).object_privilege": "
|
|
1904
|
+
"(common.privilege_ext_obj).object_privilege": "PrivilegeCreateCollection",
|
|
1905
1905
|
"(common.privilege_ext_obj).object_name_index": 3
|
|
1906
1906
|
},
|
|
1907
1907
|
"fields": {
|
|
@@ -1930,7 +1930,7 @@ exports.default = {
|
|
|
1930
1930
|
"AlterCollectionFunctionRequest": {
|
|
1931
1931
|
"options": {
|
|
1932
1932
|
"(common.privilege_ext_obj).object_type": "Collection",
|
|
1933
|
-
"(common.privilege_ext_obj).object_privilege": "
|
|
1933
|
+
"(common.privilege_ext_obj).object_privilege": "PrivilegeCreateCollection",
|
|
1934
1934
|
"(common.privilege_ext_obj).object_name_index": 3
|
|
1935
1935
|
},
|
|
1936
1936
|
"fields": {
|
|
@@ -1963,7 +1963,7 @@ exports.default = {
|
|
|
1963
1963
|
"DropCollectionFunctionRequest": {
|
|
1964
1964
|
"options": {
|
|
1965
1965
|
"(common.privilege_ext_obj).object_type": "Collection",
|
|
1966
|
-
"(common.privilege_ext_obj).object_privilege": "
|
|
1966
|
+
"(common.privilege_ext_obj).object_privilege": "PrivilegeCreateCollection",
|
|
1967
1967
|
"(common.privilege_ext_obj).object_name_index": 3
|
|
1968
1968
|
},
|
|
1969
1969
|
"fields": {
|
|
@@ -3112,6 +3112,10 @@ exports.default = {
|
|
|
3112
3112
|
"l0Compaction": {
|
|
3113
3113
|
"type": "bool",
|
|
3114
3114
|
"id": 9
|
|
3115
|
+
},
|
|
3116
|
+
"target_size": {
|
|
3117
|
+
"type": "int64",
|
|
3118
|
+
"id": 10
|
|
3115
3119
|
}
|
|
3116
3120
|
}
|
|
3117
3121
|
},
|
|
@@ -5320,6 +5324,11 @@ exports.default = {
|
|
|
5320
5324
|
}
|
|
5321
5325
|
},
|
|
5322
5326
|
"UpdateReplicateConfigurationRequest": {
|
|
5327
|
+
"options": {
|
|
5328
|
+
"(common.privilege_ext_obj).object_type": "Global",
|
|
5329
|
+
"(common.privilege_ext_obj).object_privilege": "PrivilegeUpdateReplicateConfiguration",
|
|
5330
|
+
"(common.privilege_ext_obj).object_name_index": -1
|
|
5331
|
+
},
|
|
5323
5332
|
"fields": {
|
|
5324
5333
|
"replicate_configuration": {
|
|
5325
5334
|
"type": "common.ReplicateConfiguration",
|
|
@@ -5752,7 +5761,8 @@ exports.default = {
|
|
|
5752
5761
|
"ListDatabases": 1803,
|
|
5753
5762
|
"AlterDatabase": 1804,
|
|
5754
5763
|
"DescribeDatabase": 1805,
|
|
5755
|
-
"AddCollectionField": 1900
|
|
5764
|
+
"AddCollectionField": 1900,
|
|
5765
|
+
"AlterWAL": 2000
|
|
5756
5766
|
}
|
|
5757
5767
|
},
|
|
5758
5768
|
"MsgBase": {
|
|
@@ -5941,9 +5951,7 @@ exports.default = {
|
|
|
5941
5951
|
"PrivilegeAddFileResource": 72,
|
|
5942
5952
|
"PrivilegeRemoveFileResource": 73,
|
|
5943
5953
|
"PrivilegeListFileResources": 74,
|
|
5944
|
-
"
|
|
5945
|
-
"PrivilegeAlterCollectionFunction": 76,
|
|
5946
|
-
"PrivilegeDropCollectionFunction": 77
|
|
5954
|
+
"PrivilegeUpdateReplicateConfiguration": 78
|
|
5947
5955
|
}
|
|
5948
5956
|
},
|
|
5949
5957
|
"PrivilegeExt": {
|
|
@@ -6421,6 +6429,10 @@ exports.default = {
|
|
|
6421
6429
|
"is_function_output": {
|
|
6422
6430
|
"type": "bool",
|
|
6423
6431
|
"id": 16
|
|
6432
|
+
},
|
|
6433
|
+
"external_field": {
|
|
6434
|
+
"type": "string",
|
|
6435
|
+
"id": 17
|
|
6424
6436
|
}
|
|
6425
6437
|
}
|
|
6426
6438
|
},
|
|
@@ -6527,6 +6539,18 @@ exports.default = {
|
|
|
6527
6539
|
"rule": "repeated",
|
|
6528
6540
|
"type": "StructArrayFieldSchema",
|
|
6529
6541
|
"id": 9
|
|
6542
|
+
},
|
|
6543
|
+
"version": {
|
|
6544
|
+
"type": "int32",
|
|
6545
|
+
"id": 10
|
|
6546
|
+
},
|
|
6547
|
+
"external_source": {
|
|
6548
|
+
"type": "string",
|
|
6549
|
+
"id": 11
|
|
6550
|
+
},
|
|
6551
|
+
"external_spec": {
|
|
6552
|
+
"type": "string",
|
|
6553
|
+
"id": 12
|
|
6530
6554
|
}
|
|
6531
6555
|
}
|
|
6532
6556
|
},
|
|
@@ -6548,6 +6572,11 @@ exports.default = {
|
|
|
6548
6572
|
"rule": "repeated",
|
|
6549
6573
|
"type": "FieldSchema",
|
|
6550
6574
|
"id": 4
|
|
6575
|
+
},
|
|
6576
|
+
"type_params": {
|
|
6577
|
+
"rule": "repeated",
|
|
6578
|
+
"type": "common.KeyValuePair",
|
|
6579
|
+
"id": 5
|
|
6551
6580
|
}
|
|
6552
6581
|
}
|
|
6553
6582
|
},
|