docs: Fixed nested filtering snippet filtering.md (#959)

This commit is contained in:
Anush
2024-06-10 09:38:57 +02:00
committed by GitHub
parent 77f410ec67
commit c6ba4d01e0
@@ -1464,32 +1464,36 @@ The `has_id` condition is not supported within the nested object filter. If you
```http
POST /collections/{collection_name}/points/scroll
{
"filter": {
"must": [
"nested": {
{
"key": "diet",
"filter":{
"must": [
{
"key": "food",
"match": {
"value": "meat"
}
},
{
"key": "likes",
"match": {
"value": true
}
}
]
}
}
},
{ "has_id": [1] }
]
}
"filter":{
"must":[
{
"nested":{
"key":"diet",
"filter":{
"must":[
{
"key":"food",
"match":{
"value":"meat"
}
},
{
"key":"likes",
"match":{
"value":true
}
}
]
}
}
},
{
"has_id":[
1
]
}
]
}
}
```