mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-08 01:58:34 +08:00
[skip ci]Format markdown for chap03_index_service.md (#10238)
Signed-off-by: ruiyi.jiang <ruiyi.jiang@zilliz.com>
This commit is contained in:
parent
e8a7c482c8
commit
c7836f9f41
@ -1,9 +1,5 @@
|
||||
|
||||
|
||||
## 3. Index Service
|
||||
|
||||
|
||||
|
||||
#### 3.1 Overview
|
||||
|
||||
<img src="./figs/index_coord.png" width=700>
|
||||
@ -23,9 +19,7 @@ type IndexCoord interface {
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
|
||||
* *RegisterNode*
|
||||
- _RegisterNode_
|
||||
|
||||
```go
|
||||
type MsgBase struct {
|
||||
@ -56,7 +50,7 @@ type RegisterNodeResponse struct {
|
||||
}
|
||||
```
|
||||
|
||||
* *BuildIndex*
|
||||
- _BuildIndex_
|
||||
|
||||
```go
|
||||
type KeyValuePair struct {
|
||||
@ -79,7 +73,7 @@ type BuildIndexResponse struct {
|
||||
}
|
||||
```
|
||||
|
||||
* *DropIndex*
|
||||
- _DropIndex_
|
||||
|
||||
```go
|
||||
type DropIndexRequest struct {
|
||||
@ -87,7 +81,7 @@ type DropIndexRequest struct {
|
||||
}
|
||||
```
|
||||
|
||||
* *GetIndexStates*
|
||||
- _GetIndexStates_
|
||||
|
||||
```go
|
||||
type GetIndexStatesRequest struct {
|
||||
@ -117,7 +111,7 @@ type GetIndexStatesResponse struct {
|
||||
}
|
||||
```
|
||||
|
||||
* *GetIndexFilePaths*
|
||||
- _GetIndexFilePaths_
|
||||
|
||||
```go
|
||||
type GetIndexFilePathsRequest struct {
|
||||
@ -137,7 +131,7 @@ type GetIndexFilePathsResponse struct {
|
||||
|
||||
```
|
||||
|
||||
* *NotifyBuildIndex*
|
||||
- _NotifyBuildIndex_
|
||||
|
||||
```go
|
||||
type NotifyBuildIndexRequest struct {
|
||||
@ -148,8 +142,6 @@ type NotifyBuildIndexRequest struct {
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
|
||||
#### 3.3 Index Node Interface
|
||||
|
||||
```go
|
||||
@ -162,7 +154,7 @@ type IndexNode interface {
|
||||
}
|
||||
```
|
||||
|
||||
* *BuildIndex*
|
||||
- _BuildIndex_
|
||||
|
||||
```go
|
||||
|
||||
@ -181,7 +173,7 @@ type BuildIndexRequest struct {
|
||||
}
|
||||
```
|
||||
|
||||
* *DropIndex*
|
||||
- _DropIndex_
|
||||
|
||||
```go
|
||||
type DropIndexRequest struct {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user