Hari it would be nice if someone lists all flarum search tricks ๐
This should probably have it's own thread, or be at the docs:
Gambits
Discussions:
created:2021-06-26 (example) - filter discussions created at a specific date. This also supports a date range, which also includes posts made in the specified date range (e. g.: created:2023-08-14..2023-08-15 - thanks iPurpl3x)
is:hidden (example) - only all hidden discussions, works only if you have the permissions to view these discussions (obviously)
is:unread (example) - unread discussions only
author:username (example) - filter discussions made by user with a specific username
Extensions:
is:private(example) - search for private discussions (FoF Byobu)
is:sticky (example) - show only sticky discussions
is:locked (example) - show only locked discussions
is:following (example) - show only discussions that you follow
is:ignored (example) - show only discussions that you ignore. AFAIK this is currently the only way how to obtain these discussions, but I might be wrong
tag:name (example) - filter discussions by a specific tag (e. g.: `tag:support)
Users:
The following gambits only work in the search dropdown:
email:test@doge.gov - filter users by this E-mail address
group:founder (example) - filter users by specific group, matches both singular and plural group names
is:suspended - returns only suspended users
Multiple filters
Some gambits can be combined to narrow down search results (example: is:locked is:sticky will show locked and stickied discussions).
Negation:
To filter results NOT matching a specific query, prepend the gambit with dash (-). For example, to view all discussions on Discuss that are NOT locked and that weren't created within the 2017-01-01..2026-01-01 date range, and that have been marked as read: -is:locked -created:2017-01-01..2026-01-01 -is:unread
Sources: