milvus-logo
Star
0
Forks
0
快速开始

Future

SearchFuture

Constructor

Constructor

Description

SearchFuture()

Search future.

Attributes

API

Description

result()

Return the search result.

cancel()

Cancel the search request.

done()

Wait for search request done.

APIs References

class pymilvus.SearchFuture(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).

MutationFuture

Constructor

Constructor

Description

MutationFuture()

Mutationfuture.

Attributes

API

Description

result()

Return the insert result.

cancel()

Cancel the insert request.

done()

Wait for insert request done.

APIs References

class pymilvus.MutationFuture(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).