You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a Collection whose schema has an INT64 id field named template_id and a FLOAT VECTOR field named template_data
When I use milvus::client::DescribeIndex(collection_name, "template_data", index_desc) it retrieves the IndexDesc object, but the index_desc.IndexName() method is returning the FieldName, not the IndexName.
if(hasCollection){
std::cout << "Collection '" << collection_name << "' in Milvus DB\n";
milvus::CollectionStat stats;
status = client->GetCollectionStatistics(collection_name, stats);
CheckStatus("Failed to Fetch Collection's Statistics: ", status);
std::cout << "Collection Rows: " << stats.RowCount() << "\n";
milvus::IndexDesc index_desc;
status = client->DescribeIndex(collection_name, "template_data", index_desc);
CheckStatus("Failed to retrieve Index Description: ", status);
std::cout << index_desc.IndexName() << ": " << index_desc.FieldName() << "\n";
}
The following output is obtained:
Is this the expected output? If it is, why have two differente methods (FieldName and IndexName) for the same purpose?
The text was updated successfully, but these errors were encountered:
I have a Collection whose schema has an INT64 id field named template_id and a FLOAT VECTOR field named template_data
When I use
milvus::client::DescribeIndex(collection_name, "template_data", index_desc)
it retrieves theIndexDesc
object, but theindex_desc.IndexName()
method is returning the FieldName, not the IndexName.The following output is obtained:
Is this the expected output? If it is, why have two differente methods (
FieldName
andIndexName
) for the same purpose?The text was updated successfully, but these errors were encountered: