Issue Search
Since v11, Issue search on Forgejo replaced it’s previously dropdown defined behaviour of searches with a query syntax defined by operators.
Query Syntax
Keywords
- Terms
Performs a fuzzy match search of each term in the query.
For example,
foo
will return results that containfoo
, or any of it’s derivatives (such asfor
orfood
)foo bar
will return results that containfoo
and/orbar
or any of it’s derivatives
- Phrase
Performs an exact match for the provided phrase. This is done by wrapping the phrase in double quotes.
For example,
"foo"
will return results that contain an exact match offoo
"foo bar"
will return results that contain an exact match offoo bar
Operators
- Negation
Negates the keyword by returning results that does not contain the keyword. This is done by prefixing the keyword with a minus symbol.
For example,
-foo
will return results that does not containfoo
or it’s derivatives-"foo bar"
will return results that does not containfoo bar
- Required
Denotes that the provided keyword MUST be present. This is done by prefixing the keyword with with a plus symbol.
For example,
+foo +bar
will return results that contain bothfoo
andbar
(or its fuzzy derivatives)+"foo" +"bar"
will return results that contain exactly bothfoo
andbar
+"foo bar" +"baz"
will return results that contain exactly bothfoo bar
andbaz
Escaping
All operators may be escaped by adding a backslash in front of the operators.
For example,
"\"\""
will search for""
\+1
will search for+1