@zilliz/milvus2-sdk-node 2.6.1 → 2.6.3

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.
Files changed (72) hide show
  1. package/dist/milvus/MilvusClient.js +7 -1
  2. package/dist/milvus/MilvusClient.js.map +1 -1
  3. package/dist/milvus/const/milvus.d.ts +28 -3
  4. package/dist/milvus/const/milvus.js +29 -1
  5. package/dist/milvus/const/milvus.js.map +1 -1
  6. package/dist/milvus/grpc/BaseClient.d.ts +1 -0
  7. package/dist/milvus/grpc/BaseClient.js +1 -0
  8. package/dist/milvus/grpc/BaseClient.js.map +1 -1
  9. package/dist/milvus/grpc/Collection.js +21 -2
  10. package/dist/milvus/grpc/Collection.js.map +1 -1
  11. package/dist/milvus/grpc/Data.d.ts +57 -20
  12. package/dist/milvus/grpc/Data.js +138 -51
  13. package/dist/milvus/grpc/Data.js.map +1 -1
  14. package/dist/milvus/proto-json/milvus.base.d.ts +164 -15
  15. package/dist/milvus/proto-json/milvus.base.js +165 -16
  16. package/dist/milvus/proto-json/milvus.base.js.map +1 -1
  17. package/dist/milvus/proto-json/milvus.d.ts +164 -15
  18. package/dist/milvus/proto-json/milvus.js +165 -16
  19. package/dist/milvus/proto-json/milvus.js.map +1 -1
  20. package/dist/milvus/proto-json/schema.base.d.ts +52 -5
  21. package/dist/milvus/proto-json/schema.base.js +53 -6
  22. package/dist/milvus/proto-json/schema.base.js.map +1 -1
  23. package/dist/milvus/types/Collection.d.ts +8 -2
  24. package/dist/milvus/types/Common.d.ts +3 -0
  25. package/dist/milvus/types/Data.d.ts +1 -304
  26. package/dist/milvus/types/Data.js +0 -1
  27. package/dist/milvus/types/Data.js.map +1 -1
  28. package/dist/milvus/types/DataTypes.d.ts +35 -0
  29. package/dist/milvus/types/DataTypes.js +3 -0
  30. package/dist/milvus/types/DataTypes.js.map +1 -0
  31. package/dist/milvus/types/HighLevel.d.ts +1 -1
  32. package/dist/milvus/types/Insert.d.ts +66 -0
  33. package/dist/milvus/types/Insert.js +4 -0
  34. package/dist/milvus/types/Insert.js.map +1 -0
  35. package/dist/milvus/types/Search.d.ts +147 -0
  36. package/dist/milvus/types/Search.js +4 -0
  37. package/dist/milvus/types/Search.js.map +1 -0
  38. package/dist/milvus/types/Segments.d.ts +68 -0
  39. package/dist/milvus/types/Segments.js +3 -0
  40. package/dist/milvus/types/Segments.js.map +1 -0
  41. package/dist/milvus/types/index.d.ts +4 -0
  42. package/dist/milvus/types/index.js +4 -0
  43. package/dist/milvus/types/index.js.map +1 -1
  44. package/dist/milvus/types.d.ts +4 -0
  45. package/dist/milvus/types.js +4 -1
  46. package/dist/milvus/types.js.map +1 -1
  47. package/dist/milvus/utils/Bytes.d.ts +3 -3
  48. package/dist/milvus/utils/Bytes.js +11 -10
  49. package/dist/milvus/utils/Bytes.js.map +1 -1
  50. package/dist/milvus/utils/Connection.d.ts +14 -0
  51. package/dist/milvus/utils/Connection.js +24 -0
  52. package/dist/milvus/utils/Connection.js.map +1 -0
  53. package/dist/milvus/utils/Data.d.ts +43 -0
  54. package/dist/milvus/utils/Data.js +297 -0
  55. package/dist/milvus/utils/Data.js.map +1 -0
  56. package/dist/milvus/utils/Format.d.ts +1 -233
  57. package/dist/milvus/utils/Format.js +117 -727
  58. package/dist/milvus/utils/Format.js.map +1 -1
  59. package/dist/milvus/utils/Function.d.ts +1 -21
  60. package/dist/milvus/utils/Function.js +1 -82
  61. package/dist/milvus/utils/Function.js.map +1 -1
  62. package/dist/milvus/utils/Schema.d.ts +59 -0
  63. package/dist/milvus/utils/Schema.js +256 -0
  64. package/dist/milvus/utils/Schema.js.map +1 -0
  65. package/dist/milvus/utils/Search.d.ts +193 -0
  66. package/dist/milvus/utils/Search.js +419 -0
  67. package/dist/milvus/utils/Search.js.map +1 -0
  68. package/dist/milvus/utils/index.d.ts +4 -0
  69. package/dist/milvus/utils/index.js +4 -0
  70. package/dist/milvus/utils/index.js.map +1 -1
  71. package/dist/sdk.json +1 -1
  72. package/package.json +2 -2
@@ -62,6 +62,18 @@ exports.default = {
62
62
  "requestType": "AlterCollectionFieldRequest",
63
63
  "responseType": "common.Status"
64
64
  },
65
+ "AddCollectionFunction": {
66
+ "requestType": "AddCollectionFunctionRequest",
67
+ "responseType": "common.Status"
68
+ },
69
+ "AlterCollectionFunction": {
70
+ "requestType": "AlterCollectionFunctionRequest",
71
+ "responseType": "common.Status"
72
+ },
73
+ "DropCollectionFunction": {
74
+ "requestType": "DropCollectionFunctionRequest",
75
+ "responseType": "common.Status"
76
+ },
65
77
  "CreatePartition": {
66
78
  "requestType": "CreatePartitionRequest",
67
79
  "responseType": "common.Status"
@@ -1886,6 +1898,97 @@ exports.default = {
1886
1898
  }
1887
1899
  }
1888
1900
  },
1901
+ "AddCollectionFunctionRequest": {
1902
+ "options": {
1903
+ "(common.privilege_ext_obj).object_type": "Collection",
1904
+ "(common.privilege_ext_obj).object_privilege": "PrivilegeAddCollectionFunction",
1905
+ "(common.privilege_ext_obj).object_name_index": 3
1906
+ },
1907
+ "fields": {
1908
+ "base": {
1909
+ "type": "common.MsgBase",
1910
+ "id": 1
1911
+ },
1912
+ "dbName": {
1913
+ "type": "string",
1914
+ "id": 2
1915
+ },
1916
+ "collectionName": {
1917
+ "type": "string",
1918
+ "id": 3
1919
+ },
1920
+ "collectionID": {
1921
+ "type": "int64",
1922
+ "id": 4
1923
+ },
1924
+ "functionSchema": {
1925
+ "type": "schema.FunctionSchema",
1926
+ "id": 5
1927
+ }
1928
+ }
1929
+ },
1930
+ "AlterCollectionFunctionRequest": {
1931
+ "options": {
1932
+ "(common.privilege_ext_obj).object_type": "Collection",
1933
+ "(common.privilege_ext_obj).object_privilege": "PrivilegeDropCollectionFunction",
1934
+ "(common.privilege_ext_obj).object_name_index": 3
1935
+ },
1936
+ "fields": {
1937
+ "base": {
1938
+ "type": "common.MsgBase",
1939
+ "id": 1
1940
+ },
1941
+ "dbName": {
1942
+ "type": "string",
1943
+ "id": 2
1944
+ },
1945
+ "collectionName": {
1946
+ "type": "string",
1947
+ "id": 3
1948
+ },
1949
+ "collectionID": {
1950
+ "type": "int64",
1951
+ "id": 4
1952
+ },
1953
+ "functionName": {
1954
+ "type": "string",
1955
+ "id": 5
1956
+ },
1957
+ "functionSchema": {
1958
+ "type": "schema.FunctionSchema",
1959
+ "id": 6
1960
+ }
1961
+ }
1962
+ },
1963
+ "DropCollectionFunctionRequest": {
1964
+ "options": {
1965
+ "(common.privilege_ext_obj).object_type": "Collection",
1966
+ "(common.privilege_ext_obj).object_privilege": "PrivilegeDropCollectionFunction",
1967
+ "(common.privilege_ext_obj).object_name_index": 3
1968
+ },
1969
+ "fields": {
1970
+ "base": {
1971
+ "type": "common.MsgBase",
1972
+ "id": 1
1973
+ },
1974
+ "dbName": {
1975
+ "type": "string",
1976
+ "id": 2
1977
+ },
1978
+ "collectionName": {
1979
+ "type": "string",
1980
+ "id": 3
1981
+ },
1982
+ "collectionID": {
1983
+ "type": "int64",
1984
+ "id": 4
1985
+ },
1986
+ "functionName": {
1987
+ "type": "string",
1988
+ "id": 5
1989
+ }
1990
+ }
1991
+ },
1889
1992
  "UpsertRequest": {
1890
1993
  "options": {
1891
1994
  "(common.privilege_ext_obj).object_type": "Collection",
@@ -2177,6 +2280,10 @@ exports.default = {
2177
2280
  "options": {
2178
2281
  "proto3_optional": true
2179
2282
  }
2283
+ },
2284
+ "highlighter": {
2285
+ "type": "common.Highlighter",
2286
+ "id": 21
2180
2287
  }
2181
2288
  }
2182
2289
  },
@@ -4880,10 +4987,6 @@ exports.default = {
4880
4987
  "path": {
4881
4988
  "type": "string",
4882
4989
  "id": 3
4883
- },
4884
- "type": {
4885
- "type": "common.FileResourceType",
4886
- "id": 4
4887
4990
  }
4888
4991
  }
4889
4992
  },
@@ -4905,10 +5008,6 @@ exports.default = {
4905
5008
  "path": {
4906
5009
  "type": "string",
4907
5010
  "id": 3
4908
- },
4909
- "type": {
4910
- "type": "common.FileResourceType",
4911
- "id": 4
4912
5011
  }
4913
5012
  }
4914
5013
  },
@@ -5233,13 +5332,16 @@ exports.default = {
5233
5332
  "sourceClusterId": {
5234
5333
  "type": "string",
5235
5334
  "id": 1
5335
+ },
5336
+ "targetPchannel": {
5337
+ "type": "string",
5338
+ "id": 2
5236
5339
  }
5237
5340
  }
5238
5341
  },
5239
5342
  "GetReplicateInfoResponse": {
5240
5343
  "fields": {
5241
- "checkpoints": {
5242
- "rule": "repeated",
5344
+ "checkpoint": {
5243
5345
  "type": "common.ReplicateCheckpoint",
5244
5346
  "id": 1
5245
5347
  }
@@ -5548,6 +5650,9 @@ exports.default = {
5548
5650
  "DescribeAlias": 113,
5549
5651
  "ListAliases": 114,
5550
5652
  "AlterCollectionField": 115,
5653
+ "AddCollectionFunction": 116,
5654
+ "AlterCollectionFunction": 117,
5655
+ "DropCollectionFunction": 118,
5551
5656
  "CreatePartition": 200,
5552
5657
  "DropPartition": 201,
5553
5658
  "HasPartition": 202,
@@ -5835,7 +5940,10 @@ exports.default = {
5835
5940
  "PrivilegeAddCollectionField": 71,
5836
5941
  "PrivilegeAddFileResource": 72,
5837
5942
  "PrivilegeRemoveFileResource": 73,
5838
- "PrivilegeListFileResources": 74
5943
+ "PrivilegeListFileResources": 74,
5944
+ "PrivilegeAddCollectionFunction": 75,
5945
+ "PrivilegeAlterCollectionFunction": 76,
5946
+ "PrivilegeDropCollectionFunction": 77
5839
5947
  }
5840
5948
  },
5841
5949
  "PrivilegeExt": {
@@ -5972,11 +6080,6 @@ exports.default = {
5972
6080
  "LOW": 1
5973
6081
  }
5974
6082
  },
5975
- "FileResourceType": {
5976
- "values": {
5977
- "ANALYZER_DICTIONARY": 0
5978
- }
5979
- },
5980
6083
  "WALName": {
5981
6084
  "values": {
5982
6085
  "Unknown": 0,
@@ -6090,6 +6193,47 @@ exports.default = {
6090
6193
  "id": 4
6091
6194
  }
6092
6195
  }
6196
+ },
6197
+ "HighlightData": {
6198
+ "fields": {
6199
+ "fragments": {
6200
+ "rule": "repeated",
6201
+ "type": "string",
6202
+ "id": 1
6203
+ }
6204
+ }
6205
+ },
6206
+ "HighlightResult": {
6207
+ "fields": {
6208
+ "fieldName": {
6209
+ "type": "string",
6210
+ "id": 1
6211
+ },
6212
+ "datas": {
6213
+ "rule": "repeated",
6214
+ "type": "HighlightData",
6215
+ "id": 2
6216
+ }
6217
+ }
6218
+ },
6219
+ "HighlightType": {
6220
+ "values": {
6221
+ "Lexical": 0,
6222
+ "Semantic": 1
6223
+ }
6224
+ },
6225
+ "Highlighter": {
6226
+ "fields": {
6227
+ "type": {
6228
+ "type": "HighlightType",
6229
+ "id": 1
6230
+ },
6231
+ "params": {
6232
+ "rule": "repeated",
6233
+ "type": "KeyValuePair",
6234
+ "id": 2
6235
+ }
6236
+ }
6093
6237
  }
6094
6238
  }
6095
6239
  },
@@ -6874,6 +7018,11 @@ exports.default = {
6874
7018
  "primaryFieldName": {
6875
7019
  "type": "string",
6876
7020
  "id": 13
7021
+ },
7022
+ "highlightResults": {
7023
+ "rule": "repeated",
7024
+ "type": "common.HighlightResult",
7025
+ "id": 14
6877
7026
  }
6878
7027
  }
6879
7028
  },