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:
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
Some gambits can be combined to narrow down search results (example: is:locked is:sticky
will show locked and stickied discussions).
There is also one special gambit (noResult:anything
), that's just a debug one.
Sources: