@zilliz/milvus2-sdk-node 2.6.14 → 3.0.0

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 (77) hide show
  1. package/README.md +36 -6
  2. package/dist/milvus/HttpClient.d.ts +2 -2
  3. package/dist/milvus/MilvusClient.d.ts +28 -1
  4. package/dist/milvus/MilvusClient.js +61 -1
  5. package/dist/milvus/MilvusClient.js.map +1 -1
  6. package/dist/milvus/bulkwriter/VolumeManager.d.ts +27 -0
  7. package/dist/milvus/bulkwriter/VolumeManager.js +151 -0
  8. package/dist/milvus/bulkwriter/VolumeManager.js.map +1 -0
  9. package/dist/milvus/bulkwriter/index.d.ts +1 -0
  10. package/dist/milvus/bulkwriter/index.js +3 -1
  11. package/dist/milvus/bulkwriter/index.js.map +1 -1
  12. package/dist/milvus/const/defaults.d.ts +1 -0
  13. package/dist/milvus/const/defaults.js +2 -1
  14. package/dist/milvus/const/defaults.js.map +1 -1
  15. package/dist/milvus/const/error.d.ts +2 -0
  16. package/dist/milvus/const/error.js +2 -0
  17. package/dist/milvus/const/error.js.map +1 -1
  18. package/dist/milvus/const/milvus.d.ts +13 -0
  19. package/dist/milvus/const/milvus.js +18 -1
  20. package/dist/milvus/const/milvus.js.map +1 -1
  21. package/dist/milvus/grpc/Collection.d.ts +142 -1
  22. package/dist/milvus/grpc/Collection.js +268 -7
  23. package/dist/milvus/grpc/Collection.js.map +1 -1
  24. package/dist/milvus/grpc/Data.d.ts +7 -1
  25. package/dist/milvus/grpc/Data.js +123 -45
  26. package/dist/milvus/grpc/Data.js.map +1 -1
  27. package/dist/milvus/grpc/Resource.d.ts +24 -1
  28. package/dist/milvus/grpc/Resource.js +45 -0
  29. package/dist/milvus/grpc/Resource.js.map +1 -1
  30. package/dist/milvus/http/Import.d.ts +3 -3
  31. package/dist/milvus/http/Import.js.map +1 -1
  32. package/dist/milvus/proto-json/milvus.base.d.ts +1595 -176
  33. package/dist/milvus/proto-json/milvus.base.js +1637 -183
  34. package/dist/milvus/proto-json/milvus.base.js.map +1 -1
  35. package/dist/milvus/proto-json/milvus.d.ts +1595 -176
  36. package/dist/milvus/proto-json/milvus.js +1637 -183
  37. package/dist/milvus/proto-json/milvus.js.map +1 -1
  38. package/dist/milvus/proto-json/schema.base.d.ts +441 -0
  39. package/dist/milvus/proto-json/schema.base.js +474 -7
  40. package/dist/milvus/proto-json/schema.base.js.map +1 -1
  41. package/dist/milvus/types/Collection.d.ts +121 -0
  42. package/dist/milvus/types/Collection.js +16 -0
  43. package/dist/milvus/types/Collection.js.map +1 -1
  44. package/dist/milvus/types/Common.d.ts +7 -0
  45. package/dist/milvus/types/Data.d.ts +12 -1
  46. package/dist/milvus/types/Http.d.ts +8 -2
  47. package/dist/milvus/types/Insert.d.ts +8 -1
  48. package/dist/milvus/types/Insert.js.map +1 -1
  49. package/dist/milvus/types/Resource.d.ts +27 -0
  50. package/dist/milvus/types/Search.d.ts +32 -22
  51. package/dist/milvus/types/Search.js.map +1 -1
  52. package/dist/milvus/types/Volume.d.ts +37 -0
  53. package/dist/milvus/types/Volume.js +9 -0
  54. package/dist/milvus/types/Volume.js.map +1 -0
  55. package/dist/milvus/types/index.d.ts +1 -0
  56. package/dist/milvus/types/index.js +1 -0
  57. package/dist/milvus/types/index.js.map +1 -1
  58. package/dist/milvus/types.d.ts +1 -0
  59. package/dist/milvus/types.js +1 -0
  60. package/dist/milvus/types.js.map +1 -1
  61. package/dist/milvus/utils/Bytes.d.ts +2 -2
  62. package/dist/milvus/utils/Bytes.js +9 -2
  63. package/dist/milvus/utils/Bytes.js.map +1 -1
  64. package/dist/milvus/utils/Data.js +43 -6
  65. package/dist/milvus/utils/Data.js.map +1 -1
  66. package/dist/milvus/utils/Format.d.ts +2 -1
  67. package/dist/milvus/utils/Format.js +28 -1
  68. package/dist/milvus/utils/Format.js.map +1 -1
  69. package/dist/milvus/utils/Schema.js +21 -6
  70. package/dist/milvus/utils/Schema.js.map +1 -1
  71. package/dist/milvus/utils/Search.js +94 -13
  72. package/dist/milvus/utils/Search.js.map +1 -1
  73. package/dist/milvus/utils/Validate.d.ts +3 -0
  74. package/dist/milvus/utils/Validate.js +9 -2
  75. package/dist/milvus/utils/Validate.js.map +1 -1
  76. package/dist/sdk.json +1 -1
  77. package/package.json +6 -4
@@ -8,7 +8,7 @@ exports.default = {
8
8
  "nested": {
9
9
  "milvus": {
10
10
  "options": {
11
- "go_package": "github.com/milvus-io/milvus-proto/go-api/v2/milvuspb",
11
+ "go_package": "github.com/milvus-io/milvus-proto/go-api/v3/milvuspb",
12
12
  "java_multiple_files": true,
13
13
  "java_package": "io.milvus.grpc",
14
14
  "java_outer_classname": "MilvusProto",
@@ -408,7 +408,15 @@ exports.default = {
408
408
  },
409
409
  "ReplicateMessage": {
410
410
  "requestType": "ReplicateMessageRequest",
411
- "responseType": "ReplicateMessageResponse"
411
+ "responseType": "ReplicateMessageResponse",
412
+ "options": {
413
+ "deprecated": true
414
+ },
415
+ "parsedOptions": [
416
+ {
417
+ "deprecated": true
418
+ }
419
+ ]
412
420
  },
413
421
  "BackupRBAC": {
414
422
  "requestType": "BackupRBACMetaRequest",
@@ -500,6 +508,86 @@ exports.default = {
500
508
  "requestType": "DumpMessagesRequest",
501
509
  "responseType": "DumpMessagesResponse",
502
510
  "responseStream": true
511
+ },
512
+ "ComputePhraseMatchSlop": {
513
+ "requestType": "ComputePhraseMatchSlopRequest",
514
+ "responseType": "ComputePhraseMatchSlopResponse"
515
+ },
516
+ "CreateSnapshot": {
517
+ "requestType": "CreateSnapshotRequest",
518
+ "responseType": "common.Status"
519
+ },
520
+ "DropSnapshot": {
521
+ "requestType": "DropSnapshotRequest",
522
+ "responseType": "common.Status"
523
+ },
524
+ "ListSnapshots": {
525
+ "requestType": "ListSnapshotsRequest",
526
+ "responseType": "ListSnapshotsResponse"
527
+ },
528
+ "DescribeSnapshot": {
529
+ "requestType": "DescribeSnapshotRequest",
530
+ "responseType": "DescribeSnapshotResponse"
531
+ },
532
+ "RestoreSnapshot": {
533
+ "requestType": "RestoreSnapshotRequest",
534
+ "responseType": "RestoreSnapshotResponse"
535
+ },
536
+ "GetRestoreSnapshotState": {
537
+ "requestType": "GetRestoreSnapshotStateRequest",
538
+ "responseType": "GetRestoreSnapshotStateResponse"
539
+ },
540
+ "ListRestoreSnapshotJobs": {
541
+ "requestType": "ListRestoreSnapshotJobsRequest",
542
+ "responseType": "ListRestoreSnapshotJobsResponse"
543
+ },
544
+ "PinSnapshotData": {
545
+ "requestType": "PinSnapshotDataRequest",
546
+ "responseType": "PinSnapshotDataResponse"
547
+ },
548
+ "UnpinSnapshotData": {
549
+ "requestType": "UnpinSnapshotDataRequest",
550
+ "responseType": "common.Status"
551
+ },
552
+ "AlterCollectionSchema": {
553
+ "requestType": "AlterCollectionSchemaRequest",
554
+ "responseType": "AlterCollectionSchemaResponse"
555
+ },
556
+ "BatchUpdateManifest": {
557
+ "requestType": "BatchUpdateManifestRequest",
558
+ "responseType": "common.Status"
559
+ },
560
+ "RefreshExternalCollection": {
561
+ "requestType": "RefreshExternalCollectionRequest",
562
+ "responseType": "RefreshExternalCollectionResponse"
563
+ },
564
+ "GetRefreshExternalCollectionProgress": {
565
+ "requestType": "GetRefreshExternalCollectionProgressRequest",
566
+ "responseType": "GetRefreshExternalCollectionProgressResponse"
567
+ },
568
+ "ListRefreshExternalCollectionJobs": {
569
+ "requestType": "ListRefreshExternalCollectionJobsRequest",
570
+ "responseType": "ListRefreshExternalCollectionJobsResponse"
571
+ }
572
+ }
573
+ },
574
+ "ClientTelemetryService": {
575
+ "methods": {
576
+ "ClientHeartbeat": {
577
+ "requestType": "ClientHeartbeatRequest",
578
+ "responseType": "ClientHeartbeatResponse"
579
+ },
580
+ "GetClientTelemetry": {
581
+ "requestType": "GetClientTelemetryRequest",
582
+ "responseType": "GetClientTelemetryResponse"
583
+ },
584
+ "PushClientCommand": {
585
+ "requestType": "PushClientCommandRequest",
586
+ "responseType": "PushClientCommandResponse"
587
+ },
588
+ "DeleteClientCommand": {
589
+ "requestType": "DeleteClientCommandRequest",
590
+ "responseType": "DeleteClientCommandResponse"
503
591
  }
504
592
  }
505
593
  },
@@ -2315,6 +2403,10 @@ exports.default = {
2315
2403
  "highlighter": {
2316
2404
  "type": "common.Highlighter",
2317
2405
  "id": 21
2406
+ },
2407
+ "searchAggregation": {
2408
+ "type": "common.SearchAggregationSpec",
2409
+ "id": 23
2318
2410
  }
2319
2411
  }
2320
2412
  },
@@ -2574,6 +2666,14 @@ exports.default = {
2574
2666
  }
2575
2667
  }
2576
2668
  },
2669
+ "ElementIndices": {
2670
+ "fields": {
2671
+ "indices": {
2672
+ "type": "schema.LongArray",
2673
+ "id": 1
2674
+ }
2675
+ }
2676
+ },
2577
2677
  "QueryResults": {
2578
2678
  "fields": {
2579
2679
  "status": {
@@ -2601,6 +2701,11 @@ exports.default = {
2601
2701
  "primaryFieldName": {
2602
2702
  "type": "string",
2603
2703
  "id": 6
2704
+ },
2705
+ "elementIndices": {
2706
+ "rule": "repeated",
2707
+ "type": "ElementIndices",
2708
+ "id": 7
2604
2709
  }
2605
2710
  }
2606
2711
  },
@@ -4869,6 +4974,9 @@ exports.default = {
4869
4974
  }
4870
4975
  },
4871
4976
  "ReplicateMessageRequest": {
4977
+ "options": {
4978
+ "deprecated": true
4979
+ },
4872
4980
  "fields": {
4873
4981
  "base": {
4874
4982
  "type": "common.MsgBase",
@@ -4904,6 +5012,9 @@ exports.default = {
4904
5012
  }
4905
5013
  },
4906
5014
  "ReplicateMessageResponse": {
5015
+ "options": {
5016
+ "deprecated": true
5017
+ },
4907
5018
  "fields": {
4908
5019
  "status": {
4909
5020
  "type": "common.Status",
@@ -5582,180 +5693,1053 @@ exports.default = {
5582
5693
  "id": 1
5583
5694
  }
5584
5695
  }
5585
- }
5586
- }
5587
- },
5588
- "common": {
5589
- "options": {
5590
- "go_package": "github.com/milvus-io/milvus-proto/go-api/v2/commonpb",
5591
- "java_multiple_files": true,
5592
- "java_package": "io.milvus.grpc",
5593
- "java_outer_classname": "CommonProto",
5594
- "java_generate_equals_and_hash": true,
5595
- "csharp_namespace": "Milvus.Client.Grpc"
5596
- },
5597
- "nested": {
5598
- "ErrorCode": {
5599
- "options": {
5600
- "deprecated": true
5601
- },
5602
- "values": {
5603
- "Success": 0,
5604
- "UnexpectedError": 1,
5605
- "ConnectFailed": 2,
5606
- "PermissionDenied": 3,
5607
- "CollectionNotExists": 4,
5608
- "IllegalArgument": 5,
5609
- "IllegalDimension": 7,
5610
- "IllegalIndexType": 8,
5611
- "IllegalCollectionName": 9,
5612
- "IllegalTOPK": 10,
5613
- "IllegalRowRecord": 11,
5614
- "IllegalVectorID": 12,
5615
- "IllegalSearchResult": 13,
5616
- "FileNotFound": 14,
5617
- "MetaFailed": 15,
5618
- "CacheFailed": 16,
5619
- "CannotCreateFolder": 17,
5620
- "CannotCreateFile": 18,
5621
- "CannotDeleteFolder": 19,
5622
- "CannotDeleteFile": 20,
5623
- "BuildIndexError": 21,
5624
- "IllegalNLIST": 22,
5625
- "IllegalMetricType": 23,
5626
- "OutOfMemory": 24,
5627
- "IndexNotExist": 25,
5628
- "EmptyCollection": 26,
5629
- "UpdateImportTaskFailure": 27,
5630
- "CollectionNameNotFound": 28,
5631
- "CreateCredentialFailure": 29,
5632
- "UpdateCredentialFailure": 30,
5633
- "DeleteCredentialFailure": 31,
5634
- "GetCredentialFailure": 32,
5635
- "ListCredUsersFailure": 33,
5636
- "GetUserFailure": 34,
5637
- "CreateRoleFailure": 35,
5638
- "DropRoleFailure": 36,
5639
- "OperateUserRoleFailure": 37,
5640
- "SelectRoleFailure": 38,
5641
- "SelectUserFailure": 39,
5642
- "SelectResourceFailure": 40,
5643
- "OperatePrivilegeFailure": 41,
5644
- "SelectGrantFailure": 42,
5645
- "RefreshPolicyInfoCacheFailure": 43,
5646
- "ListPolicyFailure": 44,
5647
- "NotShardLeader": 45,
5648
- "NoReplicaAvailable": 46,
5649
- "SegmentNotFound": 47,
5650
- "ForceDeny": 48,
5651
- "RateLimit": 49,
5652
- "NodeIDNotMatch": 50,
5653
- "UpsertAutoIDTrue": 51,
5654
- "InsufficientMemoryToLoad": 52,
5655
- "MemoryQuotaExhausted": 53,
5656
- "DiskQuotaExhausted": 54,
5657
- "TimeTickLongDelay": 55,
5658
- "NotReadyServe": 56,
5659
- "NotReadyCoordActivating": 57,
5660
- "CreatePrivilegeGroupFailure": 58,
5661
- "DropPrivilegeGroupFailure": 59,
5662
- "ListPrivilegeGroupsFailure": 60,
5663
- "OperatePrivilegeGroupFailure": 61,
5664
- "SchemaMismatch": 62,
5665
- "DataCoordNA": 100,
5666
- "DDRequestRace": 1000
5667
- }
5668
- },
5669
- "IndexState": {
5670
- "values": {
5671
- "IndexStateNone": 0,
5672
- "Unissued": 1,
5673
- "InProgress": 2,
5674
- "Finished": 3,
5675
- "Failed": 4,
5676
- "Retry": 5
5677
- }
5678
5696
  },
5679
- "SegmentState": {
5680
- "values": {
5681
- "SegmentStateNone": 0,
5682
- "NotExist": 1,
5683
- "Growing": 2,
5684
- "Sealed": 3,
5685
- "Flushed": 4,
5686
- "Flushing": 5,
5687
- "Dropped": 6,
5688
- "Importing": 7
5697
+ "ComputePhraseMatchSlopRequest": {
5698
+ "fields": {
5699
+ "base": {
5700
+ "type": "common.MsgBase",
5701
+ "id": 1
5702
+ },
5703
+ "analyzerParams": {
5704
+ "type": "string",
5705
+ "id": 2
5706
+ },
5707
+ "queryText": {
5708
+ "type": "string",
5709
+ "id": 3
5710
+ },
5711
+ "dataTexts": {
5712
+ "rule": "repeated",
5713
+ "type": "string",
5714
+ "id": 4
5715
+ }
5689
5716
  }
5690
5717
  },
5691
- "SegmentLevel": {
5692
- "values": {
5693
- "Legacy": 0,
5694
- "L0": 1,
5695
- "L1": 2,
5696
- "L2": 3
5718
+ "ComputePhraseMatchSlopResponse": {
5719
+ "fields": {
5720
+ "status": {
5721
+ "type": "common.Status",
5722
+ "id": 1
5723
+ },
5724
+ "isMatch": {
5725
+ "rule": "repeated",
5726
+ "type": "bool",
5727
+ "id": 2
5728
+ },
5729
+ "slops": {
5730
+ "rule": "repeated",
5731
+ "type": "int64",
5732
+ "id": 3
5733
+ }
5697
5734
  }
5698
5735
  },
5699
- "Status": {
5736
+ "CreateSnapshotRequest": {
5737
+ "options": {
5738
+ "(common.privilege_ext_obj).object_type": "Collection",
5739
+ "(common.privilege_ext_obj).object_privilege": "PrivilegeCreateSnapshot",
5740
+ "(common.privilege_ext_obj).object_name_index": 5
5741
+ },
5700
5742
  "fields": {
5701
- "errorCode": {
5702
- "type": "ErrorCode",
5703
- "id": 1,
5704
- "options": {
5705
- "deprecated": true
5706
- }
5743
+ "base": {
5744
+ "type": "common.MsgBase",
5745
+ "id": 1
5707
5746
  },
5708
- "reason": {
5747
+ "name": {
5709
5748
  "type": "string",
5710
5749
  "id": 2
5711
5750
  },
5712
- "code": {
5713
- "type": "int32",
5751
+ "description": {
5752
+ "type": "string",
5714
5753
  "id": 3
5715
5754
  },
5716
- "retriable": {
5717
- "type": "bool",
5755
+ "dbName": {
5756
+ "type": "string",
5718
5757
  "id": 4
5719
5758
  },
5720
- "detail": {
5759
+ "collectionName": {
5721
5760
  "type": "string",
5722
5761
  "id": 5
5723
5762
  },
5724
- "extraInfo": {
5725
- "keyType": "string",
5726
- "type": "string",
5763
+ "compactionProtectionSeconds": {
5764
+ "type": "int64",
5727
5765
  "id": 6
5728
5766
  }
5729
5767
  }
5730
5768
  },
5731
- "KeyValuePair": {
5769
+ "DropSnapshotRequest": {
5770
+ "options": {
5771
+ "(common.privilege_ext_obj).object_type": "Collection",
5772
+ "(common.privilege_ext_obj).object_privilege": "PrivilegeDropSnapshot",
5773
+ "(common.privilege_ext_obj).object_name_index": 4
5774
+ },
5732
5775
  "fields": {
5733
- "key": {
5734
- "type": "string",
5776
+ "base": {
5777
+ "type": "common.MsgBase",
5735
5778
  "id": 1
5736
5779
  },
5737
- "value": {
5780
+ "name": {
5738
5781
  "type": "string",
5739
5782
  "id": 2
5783
+ },
5784
+ "dbName": {
5785
+ "type": "string",
5786
+ "id": 3
5787
+ },
5788
+ "collectionName": {
5789
+ "type": "string",
5790
+ "id": 4
5740
5791
  }
5741
5792
  }
5742
5793
  },
5743
- "KeyDataPair": {
5794
+ "ListSnapshotsRequest": {
5795
+ "options": {
5796
+ "(common.privilege_ext_obj).object_type": "Collection",
5797
+ "(common.privilege_ext_obj).object_privilege": "PrivilegeListSnapshots",
5798
+ "(common.privilege_ext_obj).object_name_index": 3
5799
+ },
5744
5800
  "fields": {
5745
- "key": {
5746
- "type": "string",
5801
+ "base": {
5802
+ "type": "common.MsgBase",
5747
5803
  "id": 1
5748
5804
  },
5749
- "data": {
5750
- "type": "bytes",
5805
+ "dbName": {
5806
+ "type": "string",
5751
5807
  "id": 2
5808
+ },
5809
+ "collectionName": {
5810
+ "type": "string",
5811
+ "id": 3
5752
5812
  }
5753
5813
  }
5754
5814
  },
5755
- "Blob": {
5815
+ "ListSnapshotsResponse": {
5756
5816
  "fields": {
5757
- "value": {
5758
- "type": "bytes",
5817
+ "status": {
5818
+ "type": "common.Status",
5819
+ "id": 1
5820
+ },
5821
+ "snapshots": {
5822
+ "rule": "repeated",
5823
+ "type": "string",
5824
+ "id": 2
5825
+ }
5826
+ }
5827
+ },
5828
+ "DescribeSnapshotRequest": {
5829
+ "options": {
5830
+ "(common.privilege_ext_obj).object_type": "Collection",
5831
+ "(common.privilege_ext_obj).object_privilege": "PrivilegeDescribeSnapshot",
5832
+ "(common.privilege_ext_obj).object_name_index": 4
5833
+ },
5834
+ "fields": {
5835
+ "base": {
5836
+ "type": "common.MsgBase",
5837
+ "id": 1
5838
+ },
5839
+ "name": {
5840
+ "type": "string",
5841
+ "id": 2
5842
+ },
5843
+ "dbName": {
5844
+ "type": "string",
5845
+ "id": 3
5846
+ },
5847
+ "collectionName": {
5848
+ "type": "string",
5849
+ "id": 4
5850
+ }
5851
+ }
5852
+ },
5853
+ "DescribeSnapshotResponse": {
5854
+ "fields": {
5855
+ "status": {
5856
+ "type": "common.Status",
5857
+ "id": 1
5858
+ },
5859
+ "name": {
5860
+ "type": "string",
5861
+ "id": 2
5862
+ },
5863
+ "description": {
5864
+ "type": "string",
5865
+ "id": 3
5866
+ },
5867
+ "collectionName": {
5868
+ "type": "string",
5869
+ "id": 4
5870
+ },
5871
+ "partitionNames": {
5872
+ "rule": "repeated",
5873
+ "type": "string",
5874
+ "id": 5
5875
+ },
5876
+ "createTs": {
5877
+ "type": "int64",
5878
+ "id": 6
5879
+ },
5880
+ "s3Location": {
5881
+ "type": "string",
5882
+ "id": 7
5883
+ }
5884
+ }
5885
+ },
5886
+ "RestoreSnapshotRequest": {
5887
+ "options": {
5888
+ "(common.privilege_ext_obj).object_type": "Collection",
5889
+ "(common.privilege_ext_obj).object_privilege": "PrivilegeRestoreSnapshot",
5890
+ "(common.privilege_ext_obj).object_name_index": 4
5891
+ },
5892
+ "fields": {
5893
+ "base": {
5894
+ "type": "common.MsgBase",
5895
+ "id": 1
5896
+ },
5897
+ "name": {
5898
+ "type": "string",
5899
+ "id": 2
5900
+ },
5901
+ "dbName": {
5902
+ "type": "string",
5903
+ "id": 3
5904
+ },
5905
+ "collectionName": {
5906
+ "type": "string",
5907
+ "id": 4
5908
+ },
5909
+ "rewriteData": {
5910
+ "type": "bool",
5911
+ "id": 5
5912
+ },
5913
+ "targetDbName": {
5914
+ "type": "string",
5915
+ "id": 6
5916
+ },
5917
+ "targetCollectionName": {
5918
+ "type": "string",
5919
+ "id": 7
5920
+ }
5921
+ }
5922
+ },
5923
+ "RestoreSnapshotResponse": {
5924
+ "fields": {
5925
+ "status": {
5926
+ "type": "common.Status",
5927
+ "id": 1
5928
+ },
5929
+ "jobId": {
5930
+ "type": "int64",
5931
+ "id": 2
5932
+ }
5933
+ }
5934
+ },
5935
+ "RestoreSnapshotState": {
5936
+ "values": {
5937
+ "RestoreSnapshotNone": 0,
5938
+ "RestoreSnapshotPending": 1,
5939
+ "RestoreSnapshotExecuting": 2,
5940
+ "RestoreSnapshotCompleted": 3,
5941
+ "RestoreSnapshotFailed": 4
5942
+ }
5943
+ },
5944
+ "RestoreSnapshotInfo": {
5945
+ "fields": {
5946
+ "jobId": {
5947
+ "type": "int64",
5948
+ "id": 1
5949
+ },
5950
+ "snapshotName": {
5951
+ "type": "string",
5952
+ "id": 2
5953
+ },
5954
+ "dbName": {
5955
+ "type": "string",
5956
+ "id": 3
5957
+ },
5958
+ "collectionName": {
5959
+ "type": "string",
5960
+ "id": 4
5961
+ },
5962
+ "state": {
5963
+ "type": "RestoreSnapshotState",
5964
+ "id": 5
5965
+ },
5966
+ "progress": {
5967
+ "type": "int32",
5968
+ "id": 6
5969
+ },
5970
+ "reason": {
5971
+ "type": "string",
5972
+ "id": 7
5973
+ },
5974
+ "startTime": {
5975
+ "type": "uint64",
5976
+ "id": 8
5977
+ },
5978
+ "timeCost": {
5979
+ "type": "uint64",
5980
+ "id": 9
5981
+ }
5982
+ }
5983
+ },
5984
+ "GetRestoreSnapshotStateRequest": {
5985
+ "fields": {
5986
+ "base": {
5987
+ "type": "common.MsgBase",
5988
+ "id": 1
5989
+ },
5990
+ "jobId": {
5991
+ "type": "int64",
5992
+ "id": 2
5993
+ }
5994
+ }
5995
+ },
5996
+ "GetRestoreSnapshotStateResponse": {
5997
+ "fields": {
5998
+ "status": {
5999
+ "type": "common.Status",
6000
+ "id": 1
6001
+ },
6002
+ "info": {
6003
+ "type": "RestoreSnapshotInfo",
6004
+ "id": 2
6005
+ }
6006
+ }
6007
+ },
6008
+ "ListRestoreSnapshotJobsRequest": {
6009
+ "options": {
6010
+ "(common.privilege_ext_obj).object_type": "Collection",
6011
+ "(common.privilege_ext_obj).object_privilege": "PrivilegeRestoreSnapshot",
6012
+ "(common.privilege_ext_obj).object_name_index": 3
6013
+ },
6014
+ "fields": {
6015
+ "base": {
6016
+ "type": "common.MsgBase",
6017
+ "id": 1
6018
+ },
6019
+ "dbName": {
6020
+ "type": "string",
6021
+ "id": 2
6022
+ },
6023
+ "collectionName": {
6024
+ "type": "string",
6025
+ "id": 3
6026
+ }
6027
+ }
6028
+ },
6029
+ "ListRestoreSnapshotJobsResponse": {
6030
+ "fields": {
6031
+ "status": {
6032
+ "type": "common.Status",
6033
+ "id": 1
6034
+ },
6035
+ "jobs": {
6036
+ "rule": "repeated",
6037
+ "type": "RestoreSnapshotInfo",
6038
+ "id": 2
6039
+ }
6040
+ }
6041
+ },
6042
+ "PinSnapshotDataRequest": {
6043
+ "options": {
6044
+ "(common.privilege_ext_obj).object_type": "Global",
6045
+ "(common.privilege_ext_obj).object_privilege": "PrivilegePinSnapshotData",
6046
+ "(common.privilege_ext_obj).object_name_index": -1
6047
+ },
6048
+ "fields": {
6049
+ "base": {
6050
+ "type": "common.MsgBase",
6051
+ "id": 1
6052
+ },
6053
+ "name": {
6054
+ "type": "string",
6055
+ "id": 2
6056
+ },
6057
+ "dbName": {
6058
+ "type": "string",
6059
+ "id": 3
6060
+ },
6061
+ "collectionName": {
6062
+ "type": "string",
6063
+ "id": 4
6064
+ },
6065
+ "ttlSeconds": {
6066
+ "type": "int64",
6067
+ "id": 5
6068
+ }
6069
+ }
6070
+ },
6071
+ "PinSnapshotDataResponse": {
6072
+ "fields": {
6073
+ "status": {
6074
+ "type": "common.Status",
6075
+ "id": 1
6076
+ },
6077
+ "pinId": {
6078
+ "type": "int64",
6079
+ "id": 2
6080
+ }
6081
+ }
6082
+ },
6083
+ "UnpinSnapshotDataRequest": {
6084
+ "options": {
6085
+ "(common.privilege_ext_obj).object_type": "Global",
6086
+ "(common.privilege_ext_obj).object_privilege": "PrivilegeUnpinSnapshotData",
6087
+ "(common.privilege_ext_obj).object_name_index": -1
6088
+ },
6089
+ "fields": {
6090
+ "base": {
6091
+ "type": "common.MsgBase",
6092
+ "id": 1
6093
+ },
6094
+ "pinId": {
6095
+ "type": "int64",
6096
+ "id": 2
6097
+ }
6098
+ }
6099
+ },
6100
+ "AlterCollectionSchemaRequest": {
6101
+ "options": {
6102
+ "(common.privilege_ext_obj).object_type": "Collection",
6103
+ "(common.privilege_ext_obj).object_privilege": "PrivilegeAlterCollectionSchema",
6104
+ "(common.privilege_ext_obj).object_name_index": 3
6105
+ },
6106
+ "fields": {
6107
+ "base": {
6108
+ "type": "common.MsgBase",
6109
+ "id": 1
6110
+ },
6111
+ "dbName": {
6112
+ "type": "string",
6113
+ "id": 2
6114
+ },
6115
+ "collectionName": {
6116
+ "type": "string",
6117
+ "id": 3
6118
+ },
6119
+ "collectionID": {
6120
+ "type": "int64",
6121
+ "id": 4
6122
+ },
6123
+ "action": {
6124
+ "type": "Action",
6125
+ "id": 5
6126
+ }
6127
+ },
6128
+ "nested": {
6129
+ "FieldInfo": {
6130
+ "fields": {
6131
+ "fieldSchema": {
6132
+ "type": "schema.FieldSchema",
6133
+ "id": 1
6134
+ },
6135
+ "indexName": {
6136
+ "type": "string",
6137
+ "id": 2
6138
+ },
6139
+ "extraParams": {
6140
+ "rule": "repeated",
6141
+ "type": "common.KeyValuePair",
6142
+ "id": 3
6143
+ }
6144
+ }
6145
+ },
6146
+ "AddRequest": {
6147
+ "fields": {
6148
+ "fieldInfos": {
6149
+ "rule": "repeated",
6150
+ "type": "FieldInfo",
6151
+ "id": 1
6152
+ },
6153
+ "funcSchema": {
6154
+ "rule": "repeated",
6155
+ "type": "schema.FunctionSchema",
6156
+ "id": 2
6157
+ },
6158
+ "doPhysicalBackfill": {
6159
+ "type": "bool",
6160
+ "id": 3
6161
+ }
6162
+ }
6163
+ },
6164
+ "DropRequest": {
6165
+ "oneofs": {
6166
+ "identifier": {
6167
+ "oneof": [
6168
+ "fieldName",
6169
+ "fieldId",
6170
+ "functionName"
6171
+ ]
6172
+ }
6173
+ },
6174
+ "fields": {
6175
+ "fieldName": {
6176
+ "type": "string",
6177
+ "id": 1
6178
+ },
6179
+ "fieldId": {
6180
+ "type": "int64",
6181
+ "id": 2
6182
+ },
6183
+ "functionName": {
6184
+ "type": "string",
6185
+ "id": 3
6186
+ }
6187
+ }
6188
+ },
6189
+ "Action": {
6190
+ "oneofs": {
6191
+ "op": {
6192
+ "oneof": [
6193
+ "addRequest",
6194
+ "dropRequest"
6195
+ ]
6196
+ }
6197
+ },
6198
+ "fields": {
6199
+ "addRequest": {
6200
+ "type": "AddRequest",
6201
+ "id": 1
6202
+ },
6203
+ "dropRequest": {
6204
+ "type": "DropRequest",
6205
+ "id": 2
6206
+ }
6207
+ }
6208
+ }
6209
+ }
6210
+ },
6211
+ "AlterCollectionSchemaResponse": {
6212
+ "fields": {
6213
+ "alterStatus": {
6214
+ "type": "common.Status",
6215
+ "id": 1
6216
+ },
6217
+ "indexStatus": {
6218
+ "type": "common.Status",
6219
+ "id": 2
6220
+ }
6221
+ }
6222
+ },
6223
+ "BatchUpdateManifestRequest": {
6224
+ "options": {
6225
+ "(common.privilege_ext_obj).object_type": "Collection",
6226
+ "(common.privilege_ext_obj).object_privilege": "PrivilegeInsert",
6227
+ "(common.privilege_ext_obj).object_name_index": 3
6228
+ },
6229
+ "fields": {
6230
+ "base": {
6231
+ "type": "common.MsgBase",
6232
+ "id": 1
6233
+ },
6234
+ "dbName": {
6235
+ "type": "string",
6236
+ "id": 2
6237
+ },
6238
+ "collectionName": {
6239
+ "type": "string",
6240
+ "id": 3
6241
+ },
6242
+ "fieldNames": {
6243
+ "rule": "repeated",
6244
+ "type": "string",
6245
+ "id": 4
6246
+ },
6247
+ "items": {
6248
+ "rule": "repeated",
6249
+ "type": "BatchUpdateManifestItem",
6250
+ "id": 5
6251
+ }
6252
+ }
6253
+ },
6254
+ "BatchUpdateManifestItem": {
6255
+ "fields": {
6256
+ "segmentId": {
6257
+ "type": "int64",
6258
+ "id": 1
6259
+ },
6260
+ "manifestVersion": {
6261
+ "type": "int64",
6262
+ "id": 2
6263
+ }
6264
+ }
6265
+ },
6266
+ "ClientHeartbeatRequest": {
6267
+ "fields": {
6268
+ "clientInfo": {
6269
+ "type": "common.ClientInfo",
6270
+ "id": 1
6271
+ },
6272
+ "reportTimestamp": {
6273
+ "type": "int64",
6274
+ "id": 2
6275
+ },
6276
+ "metrics": {
6277
+ "rule": "repeated",
6278
+ "type": "common.OperationMetrics",
6279
+ "id": 3
6280
+ },
6281
+ "commandReplies": {
6282
+ "rule": "repeated",
6283
+ "type": "common.CommandReply",
6284
+ "id": 4
6285
+ },
6286
+ "configHash": {
6287
+ "type": "string",
6288
+ "id": 5
6289
+ },
6290
+ "lastCommandTimestamp": {
6291
+ "type": "int64",
6292
+ "id": 6
6293
+ }
6294
+ }
6295
+ },
6296
+ "ClientHeartbeatResponse": {
6297
+ "fields": {
6298
+ "status": {
6299
+ "type": "common.Status",
6300
+ "id": 1
6301
+ },
6302
+ "serverTimestamp": {
6303
+ "type": "int64",
6304
+ "id": 2
6305
+ },
6306
+ "commands": {
6307
+ "rule": "repeated",
6308
+ "type": "common.ClientCommand",
6309
+ "id": 3
6310
+ }
6311
+ }
6312
+ },
6313
+ "GetClientTelemetryRequest": {
6314
+ "fields": {
6315
+ "database": {
6316
+ "type": "string",
6317
+ "id": 1
6318
+ },
6319
+ "clientId": {
6320
+ "type": "string",
6321
+ "id": 2
6322
+ },
6323
+ "includeMetrics": {
6324
+ "type": "bool",
6325
+ "id": 3
6326
+ }
6327
+ }
6328
+ },
6329
+ "ClientTelemetry": {
6330
+ "fields": {
6331
+ "clientInfo": {
6332
+ "type": "common.ClientInfo",
6333
+ "id": 1
6334
+ },
6335
+ "lastHeartbeatTime": {
6336
+ "type": "int64",
6337
+ "id": 2
6338
+ },
6339
+ "status": {
6340
+ "type": "string",
6341
+ "id": 3
6342
+ },
6343
+ "databases": {
6344
+ "rule": "repeated",
6345
+ "type": "string",
6346
+ "id": 4
6347
+ },
6348
+ "metrics": {
6349
+ "rule": "repeated",
6350
+ "type": "common.OperationMetrics",
6351
+ "id": 5
6352
+ }
6353
+ }
6354
+ },
6355
+ "GetClientTelemetryResponse": {
6356
+ "fields": {
6357
+ "status": {
6358
+ "type": "common.Status",
6359
+ "id": 1
6360
+ },
6361
+ "clients": {
6362
+ "rule": "repeated",
6363
+ "type": "ClientTelemetry",
6364
+ "id": 2
6365
+ },
6366
+ "aggregated": {
6367
+ "type": "common.Metrics",
6368
+ "id": 3
6369
+ }
6370
+ }
6371
+ },
6372
+ "PushClientCommandRequest": {
6373
+ "fields": {
6374
+ "commandType": {
6375
+ "type": "string",
6376
+ "id": 1
6377
+ },
6378
+ "payload": {
6379
+ "type": "bytes",
6380
+ "id": 2
6381
+ },
6382
+ "targetClientId": {
6383
+ "type": "string",
6384
+ "id": 3
6385
+ },
6386
+ "targetDatabase": {
6387
+ "type": "string",
6388
+ "id": 4
6389
+ },
6390
+ "ttlSeconds": {
6391
+ "type": "int64",
6392
+ "id": 5
6393
+ },
6394
+ "persistent": {
6395
+ "type": "bool",
6396
+ "id": 6
6397
+ }
6398
+ }
6399
+ },
6400
+ "PushClientCommandResponse": {
6401
+ "fields": {
6402
+ "status": {
6403
+ "type": "common.Status",
6404
+ "id": 1
6405
+ },
6406
+ "commandId": {
6407
+ "type": "string",
6408
+ "id": 2
6409
+ }
6410
+ }
6411
+ },
6412
+ "DeleteClientCommandRequest": {
6413
+ "fields": {
6414
+ "commandId": {
6415
+ "type": "string",
6416
+ "id": 1
6417
+ }
6418
+ }
6419
+ },
6420
+ "DeleteClientCommandResponse": {
6421
+ "fields": {
6422
+ "status": {
6423
+ "type": "common.Status",
6424
+ "id": 1
6425
+ }
6426
+ }
6427
+ },
6428
+ "RefreshExternalCollectionState": {
6429
+ "values": {
6430
+ "RefreshPending": 0,
6431
+ "RefreshInProgress": 1,
6432
+ "RefreshCompleted": 2,
6433
+ "RefreshFailed": 3
6434
+ }
6435
+ },
6436
+ "RefreshExternalCollectionRequest": {
6437
+ "options": {
6438
+ "(common.privilege_ext_obj).object_type": "Collection",
6439
+ "(common.privilege_ext_obj).object_privilege": "PrivilegeRefreshExternalCollection",
6440
+ "(common.privilege_ext_obj).object_name_index": 3
6441
+ },
6442
+ "fields": {
6443
+ "base": {
6444
+ "type": "common.MsgBase",
6445
+ "id": 1
6446
+ },
6447
+ "dbName": {
6448
+ "type": "string",
6449
+ "id": 2
6450
+ },
6451
+ "collectionName": {
6452
+ "type": "string",
6453
+ "id": 3
6454
+ },
6455
+ "externalSource": {
6456
+ "type": "string",
6457
+ "id": 4
6458
+ },
6459
+ "externalSpec": {
6460
+ "type": "string",
6461
+ "id": 5
6462
+ }
6463
+ }
6464
+ },
6465
+ "RefreshExternalCollectionResponse": {
6466
+ "fields": {
6467
+ "status": {
6468
+ "type": "common.Status",
6469
+ "id": 1
6470
+ },
6471
+ "jobId": {
6472
+ "type": "int64",
6473
+ "id": 2
6474
+ }
6475
+ }
6476
+ },
6477
+ "GetRefreshExternalCollectionProgressRequest": {
6478
+ "fields": {
6479
+ "base": {
6480
+ "type": "common.MsgBase",
6481
+ "id": 1
6482
+ },
6483
+ "jobId": {
6484
+ "type": "int64",
6485
+ "id": 2
6486
+ }
6487
+ }
6488
+ },
6489
+ "RefreshExternalCollectionJobInfo": {
6490
+ "fields": {
6491
+ "jobId": {
6492
+ "type": "int64",
6493
+ "id": 1
6494
+ },
6495
+ "collectionName": {
6496
+ "type": "string",
6497
+ "id": 2
6498
+ },
6499
+ "state": {
6500
+ "type": "RefreshExternalCollectionState",
6501
+ "id": 3
6502
+ },
6503
+ "progress": {
6504
+ "type": "int64",
6505
+ "id": 4
6506
+ },
6507
+ "reason": {
6508
+ "type": "string",
6509
+ "id": 5
6510
+ },
6511
+ "externalSource": {
6512
+ "type": "string",
6513
+ "id": 6
6514
+ },
6515
+ "startTime": {
6516
+ "type": "int64",
6517
+ "id": 7
6518
+ },
6519
+ "endTime": {
6520
+ "type": "int64",
6521
+ "id": 8
6522
+ },
6523
+ "externalSpec": {
6524
+ "type": "string",
6525
+ "id": 9
6526
+ }
6527
+ }
6528
+ },
6529
+ "GetRefreshExternalCollectionProgressResponse": {
6530
+ "fields": {
6531
+ "status": {
6532
+ "type": "common.Status",
6533
+ "id": 1
6534
+ },
6535
+ "jobInfo": {
6536
+ "type": "RefreshExternalCollectionJobInfo",
6537
+ "id": 2
6538
+ }
6539
+ }
6540
+ },
6541
+ "ListRefreshExternalCollectionJobsRequest": {
6542
+ "fields": {
6543
+ "base": {
6544
+ "type": "common.MsgBase",
6545
+ "id": 1
6546
+ },
6547
+ "dbName": {
6548
+ "type": "string",
6549
+ "id": 2
6550
+ },
6551
+ "collectionName": {
6552
+ "type": "string",
6553
+ "id": 3
6554
+ }
6555
+ }
6556
+ },
6557
+ "ListRefreshExternalCollectionJobsResponse": {
6558
+ "fields": {
6559
+ "status": {
6560
+ "type": "common.Status",
6561
+ "id": 1
6562
+ },
6563
+ "jobs": {
6564
+ "rule": "repeated",
6565
+ "type": "RefreshExternalCollectionJobInfo",
6566
+ "id": 2
6567
+ }
6568
+ }
6569
+ }
6570
+ }
6571
+ },
6572
+ "common": {
6573
+ "options": {
6574
+ "go_package": "github.com/milvus-io/milvus-proto/go-api/v3/commonpb",
6575
+ "java_multiple_files": true,
6576
+ "java_package": "io.milvus.grpc",
6577
+ "java_outer_classname": "CommonProto",
6578
+ "java_generate_equals_and_hash": true,
6579
+ "csharp_namespace": "Milvus.Client.Grpc"
6580
+ },
6581
+ "nested": {
6582
+ "ErrorCode": {
6583
+ "options": {
6584
+ "deprecated": true
6585
+ },
6586
+ "values": {
6587
+ "Success": 0,
6588
+ "UnexpectedError": 1,
6589
+ "ConnectFailed": 2,
6590
+ "PermissionDenied": 3,
6591
+ "CollectionNotExists": 4,
6592
+ "IllegalArgument": 5,
6593
+ "IllegalDimension": 7,
6594
+ "IllegalIndexType": 8,
6595
+ "IllegalCollectionName": 9,
6596
+ "IllegalTOPK": 10,
6597
+ "IllegalRowRecord": 11,
6598
+ "IllegalVectorID": 12,
6599
+ "IllegalSearchResult": 13,
6600
+ "FileNotFound": 14,
6601
+ "MetaFailed": 15,
6602
+ "CacheFailed": 16,
6603
+ "CannotCreateFolder": 17,
6604
+ "CannotCreateFile": 18,
6605
+ "CannotDeleteFolder": 19,
6606
+ "CannotDeleteFile": 20,
6607
+ "BuildIndexError": 21,
6608
+ "IllegalNLIST": 22,
6609
+ "IllegalMetricType": 23,
6610
+ "OutOfMemory": 24,
6611
+ "IndexNotExist": 25,
6612
+ "EmptyCollection": 26,
6613
+ "UpdateImportTaskFailure": 27,
6614
+ "CollectionNameNotFound": 28,
6615
+ "CreateCredentialFailure": 29,
6616
+ "UpdateCredentialFailure": 30,
6617
+ "DeleteCredentialFailure": 31,
6618
+ "GetCredentialFailure": 32,
6619
+ "ListCredUsersFailure": 33,
6620
+ "GetUserFailure": 34,
6621
+ "CreateRoleFailure": 35,
6622
+ "DropRoleFailure": 36,
6623
+ "OperateUserRoleFailure": 37,
6624
+ "SelectRoleFailure": 38,
6625
+ "SelectUserFailure": 39,
6626
+ "SelectResourceFailure": 40,
6627
+ "OperatePrivilegeFailure": 41,
6628
+ "SelectGrantFailure": 42,
6629
+ "RefreshPolicyInfoCacheFailure": 43,
6630
+ "ListPolicyFailure": 44,
6631
+ "NotShardLeader": 45,
6632
+ "NoReplicaAvailable": 46,
6633
+ "SegmentNotFound": 47,
6634
+ "ForceDeny": 48,
6635
+ "RateLimit": 49,
6636
+ "NodeIDNotMatch": 50,
6637
+ "UpsertAutoIDTrue": 51,
6638
+ "InsufficientMemoryToLoad": 52,
6639
+ "MemoryQuotaExhausted": 53,
6640
+ "DiskQuotaExhausted": 54,
6641
+ "TimeTickLongDelay": 55,
6642
+ "NotReadyServe": 56,
6643
+ "NotReadyCoordActivating": 57,
6644
+ "CreatePrivilegeGroupFailure": 58,
6645
+ "DropPrivilegeGroupFailure": 59,
6646
+ "ListPrivilegeGroupsFailure": 60,
6647
+ "OperatePrivilegeGroupFailure": 61,
6648
+ "SchemaMismatch": 62,
6649
+ "DataCoordNA": 100,
6650
+ "DDRequestRace": 1000
6651
+ }
6652
+ },
6653
+ "IndexState": {
6654
+ "values": {
6655
+ "IndexStateNone": 0,
6656
+ "Unissued": 1,
6657
+ "InProgress": 2,
6658
+ "Finished": 3,
6659
+ "Failed": 4,
6660
+ "Retry": 5
6661
+ }
6662
+ },
6663
+ "SegmentState": {
6664
+ "values": {
6665
+ "SegmentStateNone": 0,
6666
+ "NotExist": 1,
6667
+ "Growing": 2,
6668
+ "Sealed": 3,
6669
+ "Flushed": 4,
6670
+ "Flushing": 5,
6671
+ "Dropped": 6,
6672
+ "Importing": 7
6673
+ }
6674
+ },
6675
+ "SegmentLevel": {
6676
+ "values": {
6677
+ "Legacy": 0,
6678
+ "L0": 1,
6679
+ "L1": 2,
6680
+ "L2": 3
6681
+ }
6682
+ },
6683
+ "Status": {
6684
+ "fields": {
6685
+ "errorCode": {
6686
+ "type": "ErrorCode",
6687
+ "id": 1,
6688
+ "options": {
6689
+ "deprecated": true
6690
+ }
6691
+ },
6692
+ "reason": {
6693
+ "type": "string",
6694
+ "id": 2
6695
+ },
6696
+ "code": {
6697
+ "type": "int32",
6698
+ "id": 3
6699
+ },
6700
+ "retriable": {
6701
+ "type": "bool",
6702
+ "id": 4
6703
+ },
6704
+ "detail": {
6705
+ "type": "string",
6706
+ "id": 5
6707
+ },
6708
+ "extraInfo": {
6709
+ "keyType": "string",
6710
+ "type": "string",
6711
+ "id": 6
6712
+ }
6713
+ }
6714
+ },
6715
+ "KeyValuePair": {
6716
+ "fields": {
6717
+ "key": {
6718
+ "type": "string",
6719
+ "id": 1
6720
+ },
6721
+ "value": {
6722
+ "type": "string",
6723
+ "id": 2
6724
+ }
6725
+ }
6726
+ },
6727
+ "KeyDataPair": {
6728
+ "fields": {
6729
+ "key": {
6730
+ "type": "string",
6731
+ "id": 1
6732
+ },
6733
+ "data": {
6734
+ "type": "bytes",
6735
+ "id": 2
6736
+ }
6737
+ }
6738
+ },
6739
+ "Blob": {
6740
+ "fields": {
6741
+ "value": {
6742
+ "type": "bytes",
5759
6743
  "id": 1
5760
6744
  }
5761
6745
  }
@@ -5793,6 +6777,10 @@ exports.default = {
5793
6777
  "rule": "repeated",
5794
6778
  "type": "bytes",
5795
6779
  "id": 3
6780
+ },
6781
+ "elementLevel": {
6782
+ "type": "bool",
6783
+ "id": 4
5796
6784
  }
5797
6785
  }
5798
6786
  },
@@ -5818,6 +6806,11 @@ exports.default = {
5818
6806
  }
5819
6807
  },
5820
6808
  "MsgType": {
6809
+ "valuesOptions": {
6810
+ "Replicate": {
6811
+ "deprecated": true
6812
+ }
6813
+ },
5821
6814
  "values": {
5822
6815
  "Undefined": 0,
5823
6816
  "CreateCollection": 100,
@@ -5941,7 +6934,20 @@ exports.default = {
5941
6934
  "AlterDatabase": 1804,
5942
6935
  "DescribeDatabase": 1805,
5943
6936
  "AddCollectionField": 1900,
5944
- "AlterWAL": 2000
6937
+ "AlterWAL": 2000,
6938
+ "CreateSnapshot": 2100,
6939
+ "DropSnapshot": 2101,
6940
+ "ListSnapshots": 2102,
6941
+ "DescribeSnapshot": 2103,
6942
+ "RestoreSnapshot": 2104,
6943
+ "GetRestoreSnapshotState": 2105,
6944
+ "ListRestoreSnapshotJobs": 2106,
6945
+ "PinSnapshotData": 2107,
6946
+ "UnpinSnapshotData": 2108,
6947
+ "AlterCollectionSchema": 2200,
6948
+ "RefreshExternalCollection": 2300,
6949
+ "GetRefreshExternalCollectionProgress": 2301,
6950
+ "ListRefreshExternalCollectionJobs": 2302
5945
6951
  }
5946
6952
  },
5947
6953
  "MsgBase": {
@@ -5973,11 +6979,17 @@ exports.default = {
5973
6979
  },
5974
6980
  "replicateInfo": {
5975
6981
  "type": "ReplicateInfo",
5976
- "id": 7
6982
+ "id": 7,
6983
+ "options": {
6984
+ "deprecated": true
6985
+ }
5977
6986
  }
5978
6987
  }
5979
6988
  },
5980
6989
  "ReplicateInfo": {
6990
+ "options": {
6991
+ "deprecated": true
6992
+ },
5981
6993
  "fields": {
5982
6994
  "isReplicate": {
5983
6995
  "type": "bool",
@@ -6131,7 +7143,16 @@ exports.default = {
6131
7143
  "PrivilegeRemoveFileResource": 73,
6132
7144
  "PrivilegeListFileResources": 74,
6133
7145
  "PrivilegeUpdateReplicateConfiguration": 78,
6134
- "PrivilegeGetReplicateConfiguration": 85
7146
+ "PrivilegeCreateSnapshot": 79,
7147
+ "PrivilegeDropSnapshot": 80,
7148
+ "PrivilegeDescribeSnapshot": 81,
7149
+ "PrivilegeListSnapshots": 82,
7150
+ "PrivilegeRestoreSnapshot": 83,
7151
+ "PrivilegeAlterCollectionSchema": 84,
7152
+ "PrivilegeGetReplicateConfiguration": 85,
7153
+ "PrivilegeRefreshExternalCollection": 86,
7154
+ "PrivilegePinSnapshotData": 87,
7155
+ "PrivilegeUnpinSnapshotData": 88
6135
7156
  }
6136
7157
  },
6137
7158
  "PrivilegeExt": {
@@ -6217,6 +7238,99 @@ exports.default = {
6217
7238
  }
6218
7239
  }
6219
7240
  },
7241
+ "Metrics": {
7242
+ "fields": {
7243
+ "requestCount": {
7244
+ "type": "int64",
7245
+ "id": 1
7246
+ },
7247
+ "successCount": {
7248
+ "type": "int64",
7249
+ "id": 2
7250
+ },
7251
+ "errorCount": {
7252
+ "type": "int64",
7253
+ "id": 3
7254
+ },
7255
+ "avgLatencyMs": {
7256
+ "type": "double",
7257
+ "id": 4
7258
+ },
7259
+ "p99LatencyMs": {
7260
+ "type": "double",
7261
+ "id": 5
7262
+ },
7263
+ "maxLatencyMs": {
7264
+ "type": "double",
7265
+ "id": 6
7266
+ }
7267
+ }
7268
+ },
7269
+ "OperationMetrics": {
7270
+ "fields": {
7271
+ "operation": {
7272
+ "type": "string",
7273
+ "id": 1
7274
+ },
7275
+ "global": {
7276
+ "type": "Metrics",
7277
+ "id": 2
7278
+ },
7279
+ "collectionMetrics": {
7280
+ "keyType": "string",
7281
+ "type": "Metrics",
7282
+ "id": 3
7283
+ }
7284
+ }
7285
+ },
7286
+ "ClientCommand": {
7287
+ "fields": {
7288
+ "commandId": {
7289
+ "type": "string",
7290
+ "id": 1
7291
+ },
7292
+ "commandType": {
7293
+ "type": "string",
7294
+ "id": 2
7295
+ },
7296
+ "payload": {
7297
+ "type": "bytes",
7298
+ "id": 3
7299
+ },
7300
+ "createTime": {
7301
+ "type": "int64",
7302
+ "id": 4
7303
+ },
7304
+ "persistent": {
7305
+ "type": "bool",
7306
+ "id": 5
7307
+ },
7308
+ "targetScope": {
7309
+ "type": "string",
7310
+ "id": 6
7311
+ }
7312
+ }
7313
+ },
7314
+ "CommandReply": {
7315
+ "fields": {
7316
+ "commandId": {
7317
+ "type": "string",
7318
+ "id": 1
7319
+ },
7320
+ "success": {
7321
+ "type": "bool",
7322
+ "id": 2
7323
+ },
7324
+ "errorMessage": {
7325
+ "type": "string",
7326
+ "id": 3
7327
+ },
7328
+ "payload": {
7329
+ "type": "bytes",
7330
+ "id": 4
7331
+ }
7332
+ }
7333
+ },
6220
7334
  "ServerInfo": {
6221
7335
  "fields": {
6222
7336
  "buildTags": {
@@ -6355,76 +7469,164 @@ exports.default = {
6355
7469
  "type": "bytes",
6356
7470
  "id": 2
6357
7471
  },
6358
- "properties": {
6359
- "keyType": "string",
7472
+ "properties": {
7473
+ "keyType": "string",
7474
+ "type": "string",
7475
+ "id": 3
7476
+ }
7477
+ }
7478
+ },
7479
+ "ReplicateCheckpoint": {
7480
+ "fields": {
7481
+ "clusterId": {
7482
+ "type": "string",
7483
+ "id": 1
7484
+ },
7485
+ "pchannel": {
7486
+ "type": "string",
7487
+ "id": 2
7488
+ },
7489
+ "messageId": {
7490
+ "type": "common.MessageID",
7491
+ "id": 3
7492
+ },
7493
+ "timeTick": {
7494
+ "type": "uint64",
7495
+ "id": 4
7496
+ }
7497
+ }
7498
+ },
7499
+ "HighlightData": {
7500
+ "fields": {
7501
+ "fragments": {
7502
+ "rule": "repeated",
7503
+ "type": "string",
7504
+ "id": 1
7505
+ },
7506
+ "scores": {
7507
+ "rule": "repeated",
7508
+ "type": "float",
7509
+ "id": 2
7510
+ }
7511
+ }
7512
+ },
7513
+ "HighlightResult": {
7514
+ "fields": {
7515
+ "fieldName": {
7516
+ "type": "string",
7517
+ "id": 1
7518
+ },
7519
+ "datas": {
7520
+ "rule": "repeated",
7521
+ "type": "HighlightData",
7522
+ "id": 2
7523
+ }
7524
+ }
7525
+ },
7526
+ "HighlightType": {
7527
+ "values": {
7528
+ "Lexical": 0,
7529
+ "Semantic": 1
7530
+ }
7531
+ },
7532
+ "Highlighter": {
7533
+ "fields": {
7534
+ "type": {
7535
+ "type": "HighlightType",
7536
+ "id": 1
7537
+ },
7538
+ "params": {
7539
+ "rule": "repeated",
7540
+ "type": "KeyValuePair",
7541
+ "id": 2
7542
+ }
7543
+ }
7544
+ },
7545
+ "MetricAggSpec": {
7546
+ "fields": {
7547
+ "op": {
7548
+ "type": "string",
7549
+ "id": 1
7550
+ },
7551
+ "fieldName": {
6360
7552
  "type": "string",
6361
- "id": 3
7553
+ "id": 2
6362
7554
  }
6363
7555
  }
6364
7556
  },
6365
- "ReplicateCheckpoint": {
7557
+ "SortSpec": {
6366
7558
  "fields": {
6367
- "clusterId": {
7559
+ "fieldName": {
6368
7560
  "type": "string",
6369
7561
  "id": 1
6370
7562
  },
6371
- "pchannel": {
7563
+ "direction": {
6372
7564
  "type": "string",
6373
7565
  "id": 2
6374
7566
  },
6375
- "messageId": {
6376
- "type": "common.MessageID",
7567
+ "nullFirst": {
7568
+ "type": "bool",
6377
7569
  "id": 3
6378
- },
6379
- "timeTick": {
6380
- "type": "uint64",
6381
- "id": 4
6382
7570
  }
6383
7571
  }
6384
7572
  },
6385
- "HighlightData": {
7573
+ "TopHitsSpec": {
6386
7574
  "fields": {
6387
- "fragments": {
6388
- "rule": "repeated",
6389
- "type": "string",
7575
+ "size": {
7576
+ "type": "int64",
6390
7577
  "id": 1
6391
7578
  },
6392
- "scores": {
7579
+ "sort": {
6393
7580
  "rule": "repeated",
6394
- "type": "float",
7581
+ "type": "SortSpec",
6395
7582
  "id": 2
6396
7583
  }
6397
7584
  }
6398
7585
  },
6399
- "HighlightResult": {
7586
+ "OrderSpec": {
6400
7587
  "fields": {
6401
- "fieldName": {
7588
+ "key": {
6402
7589
  "type": "string",
6403
7590
  "id": 1
6404
7591
  },
6405
- "datas": {
6406
- "rule": "repeated",
6407
- "type": "HighlightData",
7592
+ "direction": {
7593
+ "type": "string",
6408
7594
  "id": 2
7595
+ },
7596
+ "nullFirst": {
7597
+ "type": "bool",
7598
+ "id": 3
6409
7599
  }
6410
7600
  }
6411
7601
  },
6412
- "HighlightType": {
6413
- "values": {
6414
- "Lexical": 0,
6415
- "Semantic": 1
6416
- }
6417
- },
6418
- "Highlighter": {
7602
+ "SearchAggregationSpec": {
6419
7603
  "fields": {
6420
- "type": {
6421
- "type": "HighlightType",
7604
+ "fields": {
7605
+ "rule": "repeated",
7606
+ "type": "string",
6422
7607
  "id": 1
6423
7608
  },
6424
- "params": {
6425
- "rule": "repeated",
6426
- "type": "KeyValuePair",
7609
+ "size": {
7610
+ "type": "int64",
6427
7611
  "id": 2
7612
+ },
7613
+ "metrics": {
7614
+ "keyType": "string",
7615
+ "type": "MetricAggSpec",
7616
+ "id": 3
7617
+ },
7618
+ "order": {
7619
+ "rule": "repeated",
7620
+ "type": "OrderSpec",
7621
+ "id": 4
7622
+ },
7623
+ "topHits": {
7624
+ "type": "TopHitsSpec",
7625
+ "id": 5
7626
+ },
7627
+ "subAggregation": {
7628
+ "type": "SearchAggregationSpec",
7629
+ "id": 6
6428
7630
  }
6429
7631
  }
6430
7632
  }
@@ -6432,7 +7634,7 @@ exports.default = {
6432
7634
  },
6433
7635
  "rg": {
6434
7636
  "options": {
6435
- "go_package": "github.com/milvus-io/milvus-proto/go-api/v2/rgpb",
7637
+ "go_package": "github.com/milvus-io/milvus-proto/go-api/v3/rgpb",
6436
7638
  "java_multiple_files": true,
6437
7639
  "java_package": "io.milvus.grpc",
6438
7640
  "java_outer_classname": "ResourceGroupProto",
@@ -6495,7 +7697,7 @@ exports.default = {
6495
7697
  },
6496
7698
  "schema": {
6497
7699
  "options": {
6498
- "go_package": "github.com/milvus-io/milvus-proto/go-api/v2/schemapb",
7700
+ "go_package": "github.com/milvus-io/milvus-proto/go-api/v3/schemapb",
6499
7701
  "java_multiple_files": true,
6500
7702
  "java_package": "io.milvus.grpc",
6501
7703
  "java_outer_classname": "SchemaProto",
@@ -6520,6 +7722,7 @@ exports.default = {
6520
7722
  "Geometry": 24,
6521
7723
  "Text": 25,
6522
7724
  "Timestamptz": 26,
7725
+ "Mol": 27,
6523
7726
  "BinaryVector": 100,
6524
7727
  "FloatVector": 101,
6525
7728
  "Float16Vector": 102,
@@ -6536,7 +7739,9 @@ exports.default = {
6536
7739
  "Unknown": 0,
6537
7740
  "BM25": 1,
6538
7741
  "TextEmbedding": 2,
6539
- "Rerank": 3
7742
+ "Rerank": 3,
7743
+ "MinHash": 4,
7744
+ "MolFingerprint": 5
6540
7745
  }
6541
7746
  },
6542
7747
  "FieldState": {
@@ -6614,6 +7819,10 @@ exports.default = {
6614
7819
  "isFunctionOutput": {
6615
7820
  "type": "bool",
6616
7821
  "id": 16
7822
+ },
7823
+ "externalField": {
7824
+ "type": "string",
7825
+ "id": 17
6617
7826
  }
6618
7827
  }
6619
7828
  },
@@ -6725,6 +7934,23 @@ exports.default = {
6725
7934
  "type": "int32",
6726
7935
  "id": 10
6727
7936
  },
7937
+ "externalSource": {
7938
+ "type": "string",
7939
+ "id": 11
7940
+ },
7941
+ "externalSpec": {
7942
+ "type": "string",
7943
+ "id": 12
7944
+ },
7945
+ "doPhysicalBackfill": {
7946
+ "type": "bool",
7947
+ "id": 13
7948
+ },
7949
+ "fileResourceIds": {
7950
+ "rule": "repeated",
7951
+ "type": "int64",
7952
+ "id": 14
7953
+ },
6728
7954
  "enableNamespace": {
6729
7955
  "type": "bool",
6730
7956
  "id": 15
@@ -6754,6 +7980,10 @@ exports.default = {
6754
7980
  "rule": "repeated",
6755
7981
  "type": "common.KeyValuePair",
6756
7982
  "id": 5
7983
+ },
7984
+ "nullable": {
7985
+ "type": "bool",
7986
+ "id": 6
6757
7987
  }
6758
7988
  }
6759
7989
  },
@@ -6869,6 +8099,24 @@ exports.default = {
6869
8099
  }
6870
8100
  }
6871
8101
  },
8102
+ "MolArray": {
8103
+ "fields": {
8104
+ "data": {
8105
+ "rule": "repeated",
8106
+ "type": "bytes",
8107
+ "id": 1
8108
+ }
8109
+ }
8110
+ },
8111
+ "MolSmilesArray": {
8112
+ "fields": {
8113
+ "data": {
8114
+ "rule": "repeated",
8115
+ "type": "string",
8116
+ "id": 1
8117
+ }
8118
+ }
8119
+ },
6872
8120
  "ValueField": {
6873
8121
  "oneofs": {
6874
8122
  "data": {
@@ -6934,7 +8182,9 @@ exports.default = {
6934
8182
  "jsonData",
6935
8183
  "geometryData",
6936
8184
  "timestamptzData",
6937
- "geometryWktData"
8185
+ "geometryWktData",
8186
+ "molData",
8187
+ "molSmilesData"
6938
8188
  ]
6939
8189
  }
6940
8190
  },
@@ -6986,6 +8236,14 @@ exports.default = {
6986
8236
  "geometryWktData": {
6987
8237
  "type": "GeometryWktArray",
6988
8238
  "id": 12
8239
+ },
8240
+ "molData": {
8241
+ "type": "MolArray",
8242
+ "id": 13
8243
+ },
8244
+ "molSmilesData": {
8245
+ "type": "MolSmilesArray",
8246
+ "id": 14
6989
8247
  }
6990
8248
  }
6991
8249
  },
@@ -7250,6 +8508,199 @@ exports.default = {
7250
8508
  "rule": "repeated",
7251
8509
  "type": "common.HighlightResult",
7252
8510
  "id": 14
8511
+ },
8512
+ "elementIndices": {
8513
+ "type": "LongArray",
8514
+ "id": 15
8515
+ },
8516
+ "groupByFieldValues": {
8517
+ "rule": "repeated",
8518
+ "type": "FieldData",
8519
+ "id": 17
8520
+ },
8521
+ "aggBuckets": {
8522
+ "rule": "repeated",
8523
+ "type": "AggBucket",
8524
+ "id": 18
8525
+ },
8526
+ "aggTopks": {
8527
+ "rule": "repeated",
8528
+ "type": "int64",
8529
+ "id": 19
8530
+ }
8531
+ },
8532
+ "reserved": [
8533
+ [
8534
+ 16,
8535
+ 16
8536
+ ]
8537
+ ]
8538
+ },
8539
+ "AggBucket": {
8540
+ "fields": {
8541
+ "key": {
8542
+ "rule": "repeated",
8543
+ "type": "BucketKeyEntry",
8544
+ "id": 1
8545
+ },
8546
+ "count": {
8547
+ "type": "int64",
8548
+ "id": 2
8549
+ },
8550
+ "metrics": {
8551
+ "keyType": "string",
8552
+ "type": "MetricValue",
8553
+ "id": 3
8554
+ },
8555
+ "hits": {
8556
+ "rule": "repeated",
8557
+ "type": "AggHit",
8558
+ "id": 4
8559
+ },
8560
+ "subGroups": {
8561
+ "rule": "repeated",
8562
+ "type": "AggBucket",
8563
+ "id": 5
8564
+ }
8565
+ }
8566
+ },
8567
+ "MetricValue": {
8568
+ "oneofs": {
8569
+ "value": {
8570
+ "oneof": [
8571
+ "intVal",
8572
+ "doubleVal",
8573
+ "stringVal",
8574
+ "boolVal"
8575
+ ]
8576
+ }
8577
+ },
8578
+ "fields": {
8579
+ "intVal": {
8580
+ "type": "int64",
8581
+ "id": 1
8582
+ },
8583
+ "doubleVal": {
8584
+ "type": "double",
8585
+ "id": 2
8586
+ },
8587
+ "stringVal": {
8588
+ "type": "string",
8589
+ "id": 3
8590
+ },
8591
+ "boolVal": {
8592
+ "type": "bool",
8593
+ "id": 4
8594
+ }
8595
+ }
8596
+ },
8597
+ "BucketKeyEntry": {
8598
+ "oneofs": {
8599
+ "value": {
8600
+ "oneof": [
8601
+ "intVal",
8602
+ "stringVal",
8603
+ "boolVal"
8604
+ ]
8605
+ }
8606
+ },
8607
+ "fields": {
8608
+ "fieldId": {
8609
+ "type": "int64",
8610
+ "id": 1
8611
+ },
8612
+ "fieldName": {
8613
+ "type": "string",
8614
+ "id": 2
8615
+ },
8616
+ "intVal": {
8617
+ "type": "int64",
8618
+ "id": 3
8619
+ },
8620
+ "stringVal": {
8621
+ "type": "string",
8622
+ "id": 4
8623
+ },
8624
+ "boolVal": {
8625
+ "type": "bool",
8626
+ "id": 5
8627
+ }
8628
+ }
8629
+ },
8630
+ "AggHit": {
8631
+ "oneofs": {
8632
+ "pk": {
8633
+ "oneof": [
8634
+ "intPk",
8635
+ "strPk"
8636
+ ]
8637
+ }
8638
+ },
8639
+ "fields": {
8640
+ "intPk": {
8641
+ "type": "int64",
8642
+ "id": 1
8643
+ },
8644
+ "strPk": {
8645
+ "type": "string",
8646
+ "id": 2
8647
+ },
8648
+ "score": {
8649
+ "type": "float",
8650
+ "id": 3
8651
+ },
8652
+ "fields": {
8653
+ "rule": "repeated",
8654
+ "type": "AggHitField",
8655
+ "id": 4
8656
+ }
8657
+ }
8658
+ },
8659
+ "AggHitField": {
8660
+ "oneofs": {
8661
+ "value": {
8662
+ "oneof": [
8663
+ "intVal",
8664
+ "boolVal",
8665
+ "floatVal",
8666
+ "doubleVal",
8667
+ "stringVal",
8668
+ "bytesVal"
8669
+ ]
8670
+ }
8671
+ },
8672
+ "fields": {
8673
+ "fieldId": {
8674
+ "type": "int64",
8675
+ "id": 1
8676
+ },
8677
+ "fieldName": {
8678
+ "type": "string",
8679
+ "id": 2
8680
+ },
8681
+ "intVal": {
8682
+ "type": "int64",
8683
+ "id": 3
8684
+ },
8685
+ "boolVal": {
8686
+ "type": "bool",
8687
+ "id": 4
8688
+ },
8689
+ "floatVal": {
8690
+ "type": "float",
8691
+ "id": 5
8692
+ },
8693
+ "doubleVal": {
8694
+ "type": "double",
8695
+ "id": 6
8696
+ },
8697
+ "stringVal": {
8698
+ "type": "string",
8699
+ "id": 7
8700
+ },
8701
+ "bytesVal": {
8702
+ "type": "bytes",
8703
+ "id": 8
7253
8704
  }
7254
8705
  }
7255
8706
  },
@@ -7375,7 +8826,7 @@ exports.default = {
7375
8826
  },
7376
8827
  "feder": {
7377
8828
  "options": {
7378
- "go_package": "github.com/milvus-io/milvus-proto/go-api/v2/federpb"
8829
+ "go_package": "github.com/milvus-io/milvus-proto/go-api/v3/federpb"
7379
8830
  },
7380
8831
  "nested": {
7381
8832
  "SegmentIndexData": {
@@ -7474,7 +8925,7 @@ exports.default = {
7474
8925
  },
7475
8926
  "msg": {
7476
8927
  "options": {
7477
- "go_package": "github.com/milvus-io/milvus-proto/go-api/v2/msgpb"
8928
+ "go_package": "github.com/milvus-io/milvus-proto/go-api/v3/msgpb"
7478
8929
  },
7479
8930
  "nested": {
7480
8931
  "InsertDataVersion": {
@@ -7831,6 +9282,9 @@ exports.default = {
7831
9282
  }
7832
9283
  },
7833
9284
  "ReplicateMsg": {
9285
+ "options": {
9286
+ "deprecated": true
9287
+ },
7834
9288
  "fields": {
7835
9289
  "base": {
7836
9290
  "type": "common.MsgBase",