Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add EmbedType message #292

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,006 changes: 503 additions & 503 deletions go-api/milvuspb/milvus.pb.go

Large diffs are not rendered by default.

252 changes: 146 additions & 106 deletions go-api/schemapb/schema.pb.go
9 changes: 9 additions & 0 deletions proto/schema.proto
Original file line number Diff line number Diff line change
@@ -46,6 +46,14 @@ enum FieldState {
FieldDropped = 3;
}

/**
* @brief How a VarChar field should be embedded
*/
enum EmbedType {
TypeNone = 0;
TokenizedSparseU32F32 = 1;
}

/**
* @brief Field schema
*/
@@ -66,6 +74,7 @@ message FieldSchema {
bool is_partition_key = 13; // enable logic partitions
bool is_clustering_key = 14;
bool nullable = 15; // enable set null as field value
EmbedType embed_type = 16; // For VarChar type only. How the VarChar field should be embedded.
}

/**