You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
qdrant_client.overwrite_payload(
collection_name="asan",
# in my case, points=["9fad...(id)"]points=[Union[List[Union[int, str, PointId]], Filter, PointsSelector]],
payload= {otherelementsofpayload, new_key: new_value, ..},
)
This method is valid if choose to import and insert information from other existing payloads.
It is good that selecting a target point is strong through Filter.
Maybe it's looking for convenience, but it's not just for "=" and it would be nice to have a more flexible ability to modify payloads in the code, such as "append(extend)".
overwrite_payload as in the name, overwrites payload completely
there is another method, with which you can modify payload, it is called set_payloadlink
Activity
hwk06023 commentedon Apr 24, 2024
This method is valid if choose to import and insert information from other existing payloads.
It is good that selecting a target point is strong through Filter.
Maybe it's looking for convenience, but it's not just for "=" and it would be nice to have a more flexible ability to modify payloads in the code, such as "append(extend)".
joein commentedon Apr 24, 2024
Hi @hwk06023
overwrite_payloadas in the name, overwrites payload completelythere is another method, with which you can modify payload, it is called
set_payloadlinkI'll move the issue to the discussions