SundayT1998/milvus-client/index does not have a README file
pub suberror IndexParamError {
OutOfRange(key~ : String, value~ : Int, expected~ : String)
InvalidCombination(index_type~ : String, reason~ : String)
InvalidArgument(reason~ : String)
} derive(Debug)fn CreateIndexRequest::from_index(collection_name : String, field_name : String, index : Index, db_name? : String) -> CreateIndexRequest raise IndexParamErrorfn DescribeIndexRequest::by_field(collection_name : String, field_name : String, db_name? : String) -> DescribeIndexRequest raise IndexParamErrorfn DescribeIndexRequest::by_name(collection_name : String, index_name : String, db_name? : String) -> DescribeIndexRequest raise IndexParamErrorfn DescribeIndexRequest::list_all(collection_name : String, db_name? : String) -> DescribeIndexRequest raise IndexParamErrorfn DropIndexRequest::new(collection_name : String, index_name : String, db_name? : String) -> DropIndexRequest raise IndexParamErrorpub(all) struct Index {
name : String
metric_type : MetricType
index_type : IndexType
params : IndexParams
}pub(all) struct IndexDescription {
index_name : String
index_id : Int64
params : Array[(String, String)]
field_name : String
indexed_rows : Int64
total_rows : Int64
pending_index_rows : Int64
state : IndexState
fail_reason : String
} derive(Eq, Debug)impl Show for IndexParamslet create_index_path : Stringfn find_by_field(descriptions : Array[IndexDescription], field_name : String) -> Array[IndexDescription]fn new_hnsw_index(metric_type : MetricType, m? : Int, ef_construction? : Int) -> Index raise IndexParamErrorInstall
Download zipMilvus vector database client for MoonBit
Dependencies