Open jiangying000 opened 2 weeks ago
Hi @jiangying000
No, those fields are unavailable in public qdrant-client API
If you really need to, you can make requests from within qdrant-client on your own by utilising a bit low level API
if you create your client like
client = qdrant_client.QdrantClient()
then those API's can be reached as client._client.rest.<type of endpoint>.<method>
where <type of endpoint>
is one of
[
self.cluster_api,
self.collections_api,
self.points_api,
self.service_api,
self.snapshots_api
]
But we do not recommend using those APIs directly
No, those fields are unavailable in public qdrant-client API
it's an useful parametric, so please consider add them, like ElasticSearch always has this field, I can know the network cost and service internal processing time parts of a api latency.
by the way, I see the api doc mention time and status field https://qdrant.github.io/qdrant/redoc/index.html#tag/points/operation/delete_points
it's not the python client's doc, but the general openapi doc, you can get those values with pure http calls, but we don't expose them in the client
when delete by filter through api:
result:
but through sdk, i can only get
https://github.com/qdrant/qdrant-client/blob/d18cb1702f4cf8155766c7b32d1e4a68af11cd6a/qdrant_client/async_qdrant_client.py#L1129
So the "status" and "time" field is omitted, can I get then when using sdk?
usage:
res is: operation_id=30016 status=<UpdateStatus.COMPLETED: 'completed'> no "status" and "time" field