Milvus is an open-source vector database for similarity search over embeddings, used for semantic search, retrieval-augmented generation (RAG) and recommendations. Zilliz Cloud is the managed Milvus service.

Dawiso reads the schema of your Milvus deployment through the Milvus REST API: databases, collections, their fields, partitions and indexes, and the functions that compute one field from another. Dawiso doesn’t query or search your collections, so entities and vectors never leave Milvus.

Default hierarchy

The chart below shows the organizational structure of Milvus objects. Objects are represented in green and folders are in yellow. Folders group the objects of one type and are hidden when they are empty.

A Sub-field is a field of a struct field. It has the Milvus Field object type, like any other field.

Object types

Database

Maps to the Milvus Database object type.

Source attributeTarget attribute in Dawiso
dbNameName
Number of collections the Dawiso user can seeCollection count
properties, e.g. database.max.collectionsProperties
dbIDDatabase ID

Milvus has no system databases. The default database is ingested like any other database.

Collection

Maps to the Milvus Collection object type.

Source attributeTarget attribute in Dawiso
collectionNameName
descriptionScanned Description
collectionIDCollection ID
rowCount (collection statistics)Row count
shardsNumShards
partitionsNumPartitions
consistencyLevel (Strong, Bounded, Session, Eventually, Customized)Consistency level
enableDynamicFieldDynamic field
autoId of the primary fieldAuto ID
Load state (LoadStateLoaded, LoadStateNotLoad, LoadStateLoading)Load state
collection.ttl.seconds propertyTTL (seconds)
aliases, comma-separatedAliases
Number of top-level fields (a struct field counts once)Field count
functions: name, type, input field, output field and parametersFunctions
All collection properties, e.g. mmap.enabled, timezoneProperties
externalSource (Milvus 3.0 external collections)External source
externalSpec (Milvus 3.0 external collections)External source specification
  • Row count is approximate. Milvus counts the rows of its stored segments: deleted entities are counted until Milvus compacts the segment, and entities inserted shortly before the ingestion may not be counted yet. Expect the value to change between ingestions even when the schema doesn’t.
  • Load state shows whether the collection is loaded into memory for search. Dawiso never loads or releases a collection, and released collections are ingested the same way.
  • In Functions, a parameter whose name contains a secret word is shown as ***. The words are secret, password, passwd, pwd, token, credential, credentials, auth, authorization, apikey, accesskey, privatekey and secretkey, and the word pairs api_key, access_key, private_key, secret_key, client_key and account_key (also written in camelCase, such as apiKey). Only whole words count, so a parameter such as max_tokens is kept.
  • In External source specification, Milvus itself masks the access keys of the external storage. Dawiso also replaces every other storage setting with ***, except cloud_provider, storage_type, endpoint_url, region, bucket_name, use_ssl, use_virtual_host, use_iam, anonymous and load_frequency.
  • The Milvus REST API doesn’t return when a collection was created, so Dawiso has no creation date for it.

Field

Maps to the Milvus Field object type. A struct field (ArrayOfStruct, Milvus 2.6 and later) is ingested as a field, and each of its sub-fields as a field under it.

Source attributeTarget attribute in Dawiso
nameName
descriptionScanned Description
type, e.g. Int64, VarChar, JSON, Array, FloatVector, SparseFloatVector, ArrayOfStructData type
elementType (the element type of an array, or the declared type of a struct sub-field)Element type
dim parameter (vector fields)Dimension
max_length parameter (VarChar)Max length
max_capacity parameter (arrays and struct sub-fields)Max capacity
primaryKeyPrimary key
autoIdAuto ID
partitionKeyPartition key
clusteringKeyClustering key
nullableNullable
defaultValueDefault value
Position in the schemaOrdinal position
idField ID
isFunctionOutput (the field is computed by a collection function)Function output
All type parameters, e.g. analyzer settingsType parameters
elementNullable (Milvus 3.0)Nullable elements
typeSchema (element types of a nested array, Milvus 3.0)Nested type schema
The field name, or struct[sub-field] for a struct sub-fieldField path
externalField (the source column of a field in an external collection, Milvus 3.0)External field
  • Milvus stores the sub-fields of a struct field as arrays, so a sub-field shows the data type Array or ArrayOfVector, and Element type shows the type it was declared with. On a sub-field, Nullable is the nullability of the struct field, and Nullable elements is the sub-field’s own.
  • A struct field has no primary key, auto ID, partition key or clustering key setting, so these attributes are empty on it.
  • The dynamic field ($meta) isn’t ingested, because its keys have no schema. Dynamic field on the collection shows whether it’s enabled.

Partition

Maps to the Milvus Partition object type.

Source attributeTarget attribute in Dawiso
Partition nameName
rowCount (partition statistics)Row count
The collection uses a partition keyPartition-key mode
  • Every collection has the partition _default. A collection with a partition key has the partitions _default_0 to _default_N-1 that Milvus manages itself (16 by default), and they’re ingested like any other partition.
  • Row count is approximate, as for collections. You can turn the partition row counts off on the data source, see Create Milvus data source.

Index

Maps to the Milvus Index object type.

Source attributeTarget attribute in Dawiso
indexNameName
fieldName (struct[sub-field] for an index on a struct sub-field)Indexed field
indexType, e.g. HNSW, AUTOINDEX, INVERTED, SPARSE_INVERTED_INDEXIndex type
metricType, e.g. COSINE, L2, IP, BM25 (empty for scalar indexes)Metric type
indexState, e.g. Finished, InProgress, FailedIndex state
indexedRowsIndexed rows
totalRowsTotal rows
pendingRowsPending rows
indexParams, including the build parametersIndex parameters
failReasonFailure reason

Relations

A collection function computes one field of a collection from another field. For every function in a collection’s schema, Dawiso creates a lineage relation from the function’s input field to its output field. Milvus accepts the following functions in a schema:

FunctionMilvus versionInput fieldOutput field
BM252.5 and laterVarChar with an analyzer (2.6 and later also Text)SparseFloatVector
TextEmbedding2.6 and laterVarCharFloatVector or Int8Vector
MinHash3.0 and laterVarChar or TextBinaryVector

Both ends of the relation are fields of the same collection, and the data lineage diagram draws the relation inside the collection. Milvus metadata has no lineage between collections, for example from the pipeline that loads a collection.

Limitations

  • Data isn’t read. Dawiso doesn’t query or search collections. Entities, vectors and the keys of the dynamic field aren’t ingested.
  • Not ingested as objects: aliases (they’re listed in the collection’s Aliases), users, roles and privileges, resource groups and snapshots.
  • No link to Milvus. Objects have no link that opens them in Milvus or in the Zilliz Cloud console, because neither has a stable web address for a collection that Dawiso could build from the metadata.
  • Milvus Lite isn’t supported. It runs inside a Python process and has no network endpoint that Dawiso could connect to.
  • Names are case-sensitive in Milvus. Two collections whose names differ only in upper and lower case, such as Users and users, are ingested as two objects.
  • Long names are shortened. Names longer than 200 characters are cut to 200 characters in Dawiso. Milvus allows up to 255 characters by default.