mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-08 10:08:42 +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. 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 {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user