Future

SearchResultFuture

Constructor

Constructor

Description

SearchResultFuture()

Search result future.

Attributes

API

Description

result()

Return the search result.

cancel()

Cancel the search request.

done()

Wait for search request done.

APIs References

class pymilvus_orm.SearchResultFuture(future)
cancel()

Cancel the request.

done()

Wait for request done.

result(**kwargs)

Return the result from future object.

It's a synchronous interface. It will wait executing until server respond or timeout occur(if specified).

InsertFuture

Constructor

Constructor

Description

InsertFuture()

Insert future.

Attributes

API

Description

result()

Return the insert result.

cancel()

Cancel the insert request.

done()

Wait for insert request done.

APIs References

class pymilvus_orm.InsertFuture(future)
cancel()

Cancel the request.

done()

Wait for request done.

result(**kwargs)

Return the result from future object.

It's a synchronous interface. It will wait executing until server respond or timeout occur(if specified).