Index

Index .

Constructor

Constructor

Description

Index()

Create index on a specified column according to the index parameters.

Attributes

API

Description

name

Return the index name.

params

Return the index params.

collection_name

Return corresponding collection name.

field_name

Return corresponding column name.

drop

Drop index and its corresponding index files.

APIs

class pymilvus_orm.Index(collection, field_name, index_params, name='', **kwargs)
property name

Return the index name.

Return str

The name of index

property params

Return the index params.

Return dict

Index parameters

property collection_name

Return corresponding collection name.

Return str

Corresponding collection name

property field_name

Return corresponding column name.

Return str

Corresponding column name

drop(**kwargs)

Drop index and its corresponding index files.

Raises

IndexNotExistException -- If index doesn't exist.