We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The milvus server requires the insert data arranged by collection schema. For example, a collection has two fields "id" and "vectors"
milvus::CollectionSchema collection_schema(collection_name); collection_schema.AddField({"id", milvus::DataType::INT64, "user id", true, false}); collection_schema.AddField(milvus::FieldSchema("vectors", milvus::DataType::FLOAT_VECTOR, "face signature") .WithDimension(dimension));
If we construct the data in this way:
std::vector<milvus::FieldDataPtr> fields_data{ std::make_shared<milvus::FloatVecFieldData>("vectors", insert_vectors), std::make_shared<milvus::Int64FieldData>("id", insert_ids)}; milvus::DmlResults dml_results; status = client->Insert(collection_name, partition_name, fields_data, dml_results);
The Insert() return Ok, but in face the data is cracked.
There Insert() should validate the insert data by these rules:
The text was updated successfully, but these errors were encountered:
yhmo
No branches or pull requests
The milvus server requires the insert data arranged by collection schema.
For example, a collection has two fields "id" and "vectors"
If we construct the data in this way:
The Insert() return Ok, but in face the data is cracked.
There Insert() should validate the insert data by these rules:
The text was updated successfully, but these errors were encountered: