pymilvus¶
Example¶
You can find a example script in example.py.
Module Contents¶
Version¶
Get version of pymilvus by Milvus.__version__
.
Client¶
-
milvus.
Milvus
¶ alias of
milvus.client.grpc_client.GrpcMilvus
-
class
milvus.
Prepare
[source]¶ Bases:
object
-
classmethod
index
(index_type, nlist)[source]¶ - Parameters
index_type (IndexType) -- index type
nlist --
- Returns
-
classmethod
range
(start_date, end_date)[source]¶ Parser a 'yyyy-mm-dd' like str or date/datetime object to Range object
Range: (start_date, end_date]
start_date : '2019-05-25'
- Parameters
start_date (str, date, datetime) -- start date
end_date (str, date, datetime) -- end date
- Returns
Range object
-
classmethod
ranges
(ranges)[source]¶ prepare query_ranges
- Parameters
ranges -- prepare query_ranges
- Returns
list[Range]
-
classmethod