Skip to content

Build your personal knowledge base with Trilium Notes

docs(search): fix ancestor property in negation example (ancestor -> ancestors)

perfectra1nc8ee70cac2e5
diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/Navigation/Search.md b/docs/User Guide/User Guide/Basic Concepts and Features/Navigation/Search.md
index dfd6fe342a..927aa5ec33 100644
--- a/docs/User Guide/User Guide/Basic Concepts and Features/Navigation/Search.md
+++ b/docs/User Guide/User Guide/Basic Concepts and Features/Navigation/Search.md
@@ -251,7 +251,7 @@ This example will:
Some queries can only be expressed with negation:
```
-#book AND not(note.ancestor.title = 'Tolkien')
+#book AND not(note.ancestors.title = 'Tolkien')
```
This query finds all book notes not in the "Tolkien" subtree.