|
@@ -117,6 +117,22 @@ message SearchByIDParam {
|
|
|
repeated KeyValuePair extra_params = 5;
|
|
|
}
|
|
|
|
|
|
+/**
|
|
|
+ * @brief Params for preload collection/partitions
|
|
|
+ */
|
|
|
+message PreloadCollectionParam {
|
|
|
+ string collection_name = 1;
|
|
|
+ repeated string partition_tag_array = 2;
|
|
|
+}
|
|
|
+
|
|
|
+/**
|
|
|
+ * @brief Params for reloading segments
|
|
|
+ */
|
|
|
+message ReLoadSegmentsParam {
|
|
|
+ string collection_name = 1;
|
|
|
+ repeated string segment_id_array = 2;
|
|
|
+}
|
|
|
+
|
|
|
/**
|
|
|
* @brief Query result params
|
|
|
*/
|
|
@@ -416,13 +432,22 @@ service MilvusService {
|
|
|
rpc DeleteByID(DeleteByIDParam) returns (Status) {}
|
|
|
|
|
|
/**
|
|
|
- * @brief This method is used to preload collection
|
|
|
+ * @brief This method is used to preload collection/partitions
|
|
|
*
|
|
|
- * @param CollectionName, target collection name.
|
|
|
+ * @param PreloadCollectionParam, target collection/partitions.
|
|
|
+ *
|
|
|
+ * @return Status
|
|
|
+ */
|
|
|
+ rpc PreloadCollection(PreloadCollectionParam) returns (Status) {}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @brief This method is used to reload collection segments
|
|
|
+ *
|
|
|
+ * @param ReLoadSegmentsParam, target segments information.
|
|
|
*
|
|
|
* @return Status
|
|
|
*/
|
|
|
- rpc PreloadCollection(CollectionName) returns (Status) {}
|
|
|
+ rpc ReloadSegments(ReLoadSegmentsParam) returns (Status) {}
|
|
|
|
|
|
/**
|
|
|
* @brief This method is used to flush buffer into storage.
|