[skip ci]Format retrieve_entity docs (#9181)

Signed-off-by: ruiyi.jiang <ruiyi.jiang@zilliz.com>
pull/9185/head
ryjiang 2021-10-04 08:38:14 +08:00 committed by GitHub
parent edc8db2f5a
commit 9854588afa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 12 deletions

View File

@ -1,7 +1,5 @@
# Support to retrieve the specified entity from a collection
## Background
Milvus supports one entity containing multiple vector fields and multiple scalar fields.
@ -12,23 +10,17 @@ Milvus currently only supports primary keys of int64 type.
QueryNode subscribes to the insert channel and will determine whether to use the data extracted from insert channel or data processed by DataNode to provide services according to the status of a segment.
## Goals
- Support to retrieve one or more entities from a collection through primary keys
- Support to retrieve only some fields of a entity
- Consider backward file format compatibility if a new file is defined
## Non-Goals
- How to deal with duplicate primary keys
- How to retrieve entity by non-primary key
## Detailed design
When the DataNode processes each inserted entity, it updates the bloomfilter of the Segment to which the entity belongs. If it does not exist, it creates a bloomfilter in memory and updates it.
@ -79,8 +71,6 @@ BFBinlog Payload: Refer to https://github.com/milvus-io/milvus/blob/1.1/core/src
StatsBinlog Payload: Json format string, currently only contains the keys `max`, `min`.
## Impact
### API
@ -94,8 +84,6 @@ StatsBinlog Payload: Json format string, currently only contains the keys `max`,
- Each binlog adds a stats file
- Each binlog adds a bloomfilter file
## Test Plan
### Testcase 1