Open lambda-science opened 7 hours ago
Version of cluster on Qdrant Cloud is 1.11.3 Related PR: https://github.com/qdrant/qdrant-client/pull/536#issuecomment-1994557600
body = {'meta.group_id': value}
resp = client.set_payload(
collection_name=COLLECTION_NAME,
payload=body,
points=qdrant_client.models.Filter(
must=[
qdrant_client.models.FieldCondition(
key='meta.group_id',
match=qdrant_client.models.MatchValue(value=key),
),
],
),
wait=True,
)
print(resp)
{
"payload":{
"meta.group_id": "new group id",
"meta":{
"group_id": "a@b.com",
"title": "My Document",
}
}
}
Driving me a bit crazy
Hello.
I tried to change my points payload using Qdrant client. And I face a very non consistent behaviour driving me a bit crazy My points payload are like:
So basically all my fields are in a dict named
meta
and I want to modify thegroup_id
with a new value. I used the following code: With the following code:It doesn't work, it put the new group id at the root like
With the following code:
It doesn't work, it put the new group id in the meta dict but also with meta prefix, like: