From 05489954771256d94385297c384376fbedd26672 Mon Sep 17 00:00:00 2001 From: Tumao Date: Fri, 10 Sep 2021 17:12:21 +0800 Subject: [PATCH] [skip ci] fix api reference typo (#7710) Signed-off-by: tumao --- docs/developer_guides/appendix_b_api_reference.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/developer_guides/appendix_b_api_reference.md b/docs/developer_guides/appendix_b_api_reference.md index eca5d8b4d7..972c64d4f8 100644 --- a/docs/developer_guides/appendix_b_api_reference.md +++ b/docs/developer_guides/appendix_b_api_reference.md @@ -101,7 +101,7 @@ message FieldSchema { } ``` -**Field schema** contains all the base information of a field including field **fieldID**, **name**, **description**, **data_type**, **type_params** and **index_params**. **data_type** is a enum type to distingush different data type.Total enum is shown in the last of this doc +**Field schema** contains all the base information of a field including **fieldID**, **name**, **description**, **data_type**, **type_params** and **index_params**. **data_type** is an enum type to distingush different data types.Total enum is shown in the last of this doc **type_params** contains the detailed information of data_type. For example, vector data type should include dimension information. You can give a pair of to let the field store 8-dimension vector. @@ -120,7 +120,7 @@ ErrorCode error_code = 1; } ``` -**Status** represents the server error code. It doesn't contains grpc error but contains the server error code. We can get the executing result in common status. **error_code** is a enum type to distingush the executing error type. The total Errorcode is shown in the last of this code. And the **reason** field is a string to describes the detailed error. +**Status** represents the server error code. It doesn't contain grpc error but contains the server error code. We can get the executing result in common status. **error_code** is an enum type to distingush the executing error type. The total Errorcode is shown in the last of this code. And the **reason** field is a string to describe the detailed error. @@ -163,7 +163,7 @@ message Status { } ``` -**Status** represents the server error code. It doesn't contains grpc error but contains the server error code. We can get the executing result in common status. **error_code** is a enum type to distingush the executing error type. The total Errorcode is shown in the last of this code. And the **reason** field is a string to describes the detailed error. +**Status** represents the server error code. It doesn't contain grpc error but contains the server error code. We can get the executing result in common status. **error_code** is an enum type to distingush the executing error type. The total Errorcode is shown in the last of this code. And the **reason** field is a string to describes the detailed error.