aboutsummaryrefslogtreecommitdiff
path: root/docs/en/users/03_Main_view.md
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2022-08-16 10:56:07 +0200
committerGravatar GitHub <noreply@github.com> 2022-08-16 10:56:07 +0200
commite27eb1ca9198119ea1b0bd79be5f1aead45d615a (patch)
treefd4e2767ab4d65a68b437d77f57b9e6274a65b9d /docs/en/users/03_Main_view.md
parent8587efa62189a30e3e47075739382d52ecc34cb6 (diff)
Basic support for negative searches with parentheses (#4503)
* Basic support for negative searches with parentheses * `!((author:Alice intitle:hello) OR (author:Bob intitle:world))` * `(author:Alice intitle:hello) !(author:Bob intitle:world)` * `!(S:1 OR S:2)` * Minor documentation / comment * Remove syslog debug line
Diffstat (limited to 'docs/en/users/03_Main_view.md')
-rw-r--r--docs/en/users/03_Main_view.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/en/users/03_Main_view.md b/docs/en/users/03_Main_view.md
index a5a2afe34..eb8fe0f01 100644
--- a/docs/en/users/03_Main_view.md
+++ b/docs/en/users/03_Main_view.md
@@ -239,10 +239,13 @@ can be used to combine several search criteria with a logical *or* instead: `aut
You don’t have to do anything special to combine multiple negative operators. Writing `!intitle:'thing1' !intitle:'thing2'` implies AND, see above. For more pointers on how AND and OR interact with negation, see [this GitHub comment](https://github.com/FreshRSS/FreshRSS/issues/3236#issuecomment-891219460).
Additional reading: [De Morgan's laws](https://en.wikipedia.org/wiki/De_Morgan%27s_laws).
-Finally, parentheses may be used to express more complex queries:
+Finally, parentheses may be used to express more complex queries, with basic negation support:
* `(author:Alice OR intitle:hello) (author:Bob OR intitle:world)`
* `(author:Alice intitle:hello) OR (author:Bob intitle:world)`
+* `!((author:Alice intitle:hello) OR (author:Bob intitle:world))`
+* `(author:Alice intitle:hello) !(author:Bob intitle:world)`
+* `!(S:1 OR S:2)`
### By sorting by date