Replies: 1 comment
-
with_payload parameter can be an array of fields to return. https://qdrant.github.io/qdrant/redoc/index.html#tag/points/operation/search_points
PS: I highly encourage you to join our Discord server to get responses in minutes instead of weeks ;) https://qdrant.to/discord |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Partial payload response
I have a use case where I would like like to keep all my data (each with id, payload, vector) in qdrant but when retrieving data I'd like to define myself what exactly is returned.
At the moment in Qdrant
Instead of just switching the payload on/off, I'd like to submit a schema of the payload I'd like to be returned.
Example
My payload might contain these nodes:
payload={'Name': 'Testname', 'ID': '12345', 'Name acronym': 'TSTS', 'Record Number': 987654321, 'Text': 'A very long text I do not want to return!'}
But I'd only like to return the
Name acronym
for example.([Record(id=82157, payload={'Name acronym': 'TSTS'}), ...])
Beta Was this translation helpful? Give feedback.
All reactions