document updated 7 years ago, on Jul 14, 2014
The help page about the search feature is incomplete. Other info I've found about it:
random bits of info
- l2cs (converts Lucene syntax to Amazon CloudSearch syntax) — very little documentation here
- reddit sourcecode
Extra things that seem to work from the Whoosh search syntax:
Things that work in unexpected ways:
- field "fullname:". Examples:
- field "flair_text:". Examples:
- field "sr_id:". Example:
- sr_id:4606680 4606680 decimal is "2qqjc" in base36, and t5_2qqjc is the ID for /r/todayilearned
- field "timestamp:"
- single quotes
- single quotes, double quotes, and parens — they all work the same
Things that don't work from the Whoosh syntax:
- double quotes — these don't search for a phrase like in Google; rather, double-quotes mean the same thing that parens do (see the discussion above about single quotes, double quotes, and parens)
- * and ?
- They act just like a space would.
- <ham*burger> matches: