I know it is possible to search a Qdrant collection by payload using filters.
For instance this /scroll
point query
{
"filter": {
"must": [
{
"key": "page_content",
"match": {
"text": "days, "
}
}
]
},
"limit": 1,
"with_payload": true,
"with_vector": false
}
returns the result:
{
"result": {
"points": [
{
"id": "0024d2b5-b4db-4700-adbf-a23a6589789f",
"payload": {
"metadata": {
"name": "test-test"
},
"page_content": "Though they don’t realize it when they are in their battles, the hero’s biggest\nreward is what Campbell calls the “boon,” which is the special knowledge\nabout how to succeed that the hero has earned through his journey."
},
"vector": null
}
],
"next_page_offset": "0030eb00-7848-4440-85cc-086589775695"
},
"status": "ok",
"time": 0.000294958
}
But I don't understand how to craft a query if I were to search the payload.metadata.name
attribute of such Point.
How should I proceed?
Note that my constraint in this app is not being allowed to add more direct members to the payload
object. I can only write into the metadata
payload attribute.