From d224fc7ac99e765330980b9111af55d6dfc5fd2c Mon Sep 17 00:00:00 2001 From: George Panchuk Date: Mon, 26 Jun 2023 00:15:16 +0400 Subject: [PATCH] fix: fix nested filter example --- .../content/documentation/concepts/filtering.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/qdrant-landing/content/documentation/concepts/filtering.md b/qdrant-landing/content/documentation/concepts/filtering.md index e5c18855d..37e091f00 100644 --- a/qdrant-landing/content/documentation/concepts/filtering.md +++ b/qdrant-landing/content/documentation/concepts/filtering.md @@ -677,10 +677,10 @@ client.scroll( collection_name="{collection_name}", scroll_filter=models.Filter( must=[ - models.NestedContainer( - nested=models.NestedCondition( + models.NestedCondition( + nested=models.Nested( key="diet", - filter=( + filter=models.Filter( must=[ models.FieldCondition( key="food", @@ -746,10 +746,10 @@ client.scroll( collection_name="{collection_name}", scroll_filter=models.Filter( must=[ - models.NestedContainer( - nested=models.NestedCondition( + models.NestedCondition( + nested=models.Nested( key="diet", - filter=( + filter=models.Filter( must=[ models.FieldCondition( key="food",