From a479e34f1dafe66c1091a0e48121ac0a6f13b734 Mon Sep 17 00:00:00 2001 From: TheAMM Date: Thu, 31 Oct 2019 21:19:41 +0200 Subject: [PATCH] help: Add some search examples --- nyaa/templates/help.html | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/nyaa/templates/help.html b/nyaa/templates/help.html index 9b9011e..777e3c6 100644 --- a/nyaa/templates/help.html +++ b/nyaa/templates/help.html @@ -58,6 +58,40 @@ not honor this. Using (hello world) "foo bar" is fine, but quoted strings inside the parentheses will lead to unexpected results. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
QueryResult
fooTorrents matching "foo" or a word starting with "foo"
foo -barTorrents matching "foo" (as above) but not "bar" (or a word starting with "bar")
foo barTorrents matching both "foo" and "bar", and not necessarily in that order
foo|barTorrents matching either "foo" or "bar"
(foo bar)|(boo baz)Torrents matching either "foo" and "bar" or "boo" and "baz", but not "foo" and "boo" or "foo" and "baz", and so on.
"foo bar"Torrents matching "foo bar" - literally, space included
"foo "|" foo"Torrents matching "foo" as a single word (foo with a leading or trailing space) - compare against the first example
{{ linkable_header("Reporting Torrents", "reporting") }}