[skip ci]Format markdown for chap03_index_service.md (#10238)

Signed-off-by: ruiyi.jiang <ruiyi.jiang@zilliz.com>
This commit is contained in:
ryjiang 2021-10-20 19:29:40 +08:00 committed by GitHub
parent e8a7c482c8
commit c7836f9f41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,9 +1,5 @@
## 3. Index Service ## 3. Index Service
#### 3.1 Overview #### 3.1 Overview
<img src="./figs/index_coord.png" width=700> <img src="./figs/index_coord.png" width=700>
@ -23,9 +19,7 @@ type IndexCoord interface {
} }
``` ```
- _RegisterNode_
* *RegisterNode*
```go ```go
type MsgBase struct { type MsgBase struct {
@ -56,7 +50,7 @@ type RegisterNodeResponse struct {
} }
``` ```
* *BuildIndex* - _BuildIndex_
```go ```go
type KeyValuePair struct { type KeyValuePair struct {
@ -79,7 +73,7 @@ type BuildIndexResponse struct {
} }
``` ```
* *DropIndex* - _DropIndex_
```go ```go
type DropIndexRequest struct { type DropIndexRequest struct {
@ -87,7 +81,7 @@ type DropIndexRequest struct {
} }
``` ```
* *GetIndexStates* - _GetIndexStates_
```go ```go
type GetIndexStatesRequest struct { type GetIndexStatesRequest struct {
@ -117,7 +111,7 @@ type GetIndexStatesResponse struct {
} }
``` ```
* *GetIndexFilePaths* - _GetIndexFilePaths_
```go ```go
type GetIndexFilePathsRequest struct { type GetIndexFilePathsRequest struct {
@ -137,7 +131,7 @@ type GetIndexFilePathsResponse struct {
``` ```
* *NotifyBuildIndex* - _NotifyBuildIndex_
```go ```go
type NotifyBuildIndexRequest struct { type NotifyBuildIndexRequest struct {
@ -148,8 +142,6 @@ type NotifyBuildIndexRequest struct {
} }
``` ```
#### 3.3 Index Node Interface #### 3.3 Index Node Interface
```go ```go
@ -162,7 +154,7 @@ type IndexNode interface {
} }
``` ```
* *BuildIndex* - _BuildIndex_
```go ```go
@ -181,7 +173,7 @@ type BuildIndexRequest struct {
} }
``` ```
* *DropIndex* - _DropIndex_
```go ```go
type DropIndexRequest struct { type DropIndexRequest struct {