summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2020-04-01 17:26:19 +0200
committerGravatar GitHub <noreply@github.com> 2020-04-01 17:26:19 +0200
commit61c8026ac98a5ed7d4c715102d66d56d967553ab (patch)
treed10292dc8446d29fbe2f7b71856c7c2a4bd98e09 /docs
parent656b61ff2956351538cc70fe79cc534b1eb58e0c (diff)
Implement negation for searching by date intervals (#2869)
* Implement negation for searching by date intervals #fix https://github.com/FreshRSS/FreshRSS/issues/2866 Allow searching for e.g. `!date:P1W` to exlude all articles newer than one week. More generally, allows exclusion on some date intervals. * Fix OR
Diffstat (limited to 'docs')
-rw-r--r--docs/en/users/03_Main_view.md2
-rw-r--r--docs/fr/users/03_Main_view.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/en/users/03_Main_view.md b/docs/en/users/03_Main_view.md
index 7259d756e..2642e1d1e 100644
--- a/docs/en/users/03_Main_view.md
+++ b/docs/en/users/03_Main_view.md
@@ -200,7 +200,7 @@ You can use the search field to further refine results:
Be careful not to enter a space between the operator and the search value.
Some operators can be used negatively, to exclude articles, with the same syntax as above, but prefixed by a `!` or `-`:
-`-author:name`, `-intitle:keyword`, `-inurl:keyword`, `-#tag`, `!keyword`.
+`-author:name`, `-intitle:keyword`, `-inurl:keyword`, `-#tag`, `!keyword`, `!date:2019`, `!date:P1W`, `!pubdate:P3d/`.
It is also possible to combine keywords to create a more precise filter. For example, you can enter multiple instances of `author:`, `intitle:`, `inurl:`, `#`, and free-text.
diff --git a/docs/fr/users/03_Main_view.md b/docs/fr/users/03_Main_view.md
index e827d6c6d..6bb12714d 100644
--- a/docs/fr/users/03_Main_view.md
+++ b/docs/fr/users/03_Main_view.md
@@ -251,7 +251,7 @@ recherchée.
Certains opérateurs peuvent être utilisé négativement, pour exclure des
articles, avec la même syntaxe que ci-dessus, mais préfixé par `!` ou `-`
-:`-author:nom`, `-intitle:mot`, `-inurl:mot`, `-#tag`, `!mot`.
+:`-author:nom`, `-intitle:mot`, `-inurl:mot`, `-#tag`, `!mot`, `!date:2019`, `!date:P1W`, `!pubdate:P3d/`.
Il est également possible de combiner les mots-clefs pour faire un filtrage
encore plus précis, et il est autorisé d’avoir plusieurs instances de :