Skip to content

[Bug]: KeyError sometimes occurs when taking indexes from a collection #40463

Closed
@dkchung0

Description

@dkchung0

Is there an existing issue for this?

  • I have searched the existing issues

Environment

Current Behavior

I want to ask

self.collection = Collection(collection_name)

self.collection.load()

self.collection_index_schema = self.collection.indexes[0]

self.collection_index_schema._index_params['index_type']

Sometimes key error occurs but sometimes it works. How to solve it?

Expected Behavior

No response

Steps To Reproduce

Milvus Log

No response

Anything else?

No response

Metadata

Metadata

Assignees

Labels

kind/bugIssues or changes related a bugstaleindicates no udpates for 30 daystriage/needs-informationIndicates an issue needs more information in order to work on it.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions