Search
What's Searchable
reddit search not only allows you to search the title of posts, but several other fields as well, including:
- title
- The submission title of the post
- author
- The user who submitted the post
- subreddit
- The name of the subreddit where the post was submitted
- selftext
- For self-posts, the contents of the post
- text
- This "pseudo-field" is a combination of the prior four items; it is the default field that is searched against if no other field is explicitly given
- url
- The submitted URL
- site
- The domain of the URL, e.g., "imgur" for "http://i.imgur.com/foo"
- over18
- Set to 1 if the post is flagged as NSFW, 0 otherwise*
- is_self
- Set to 1 for self-posts, 0 otherwise*
To search the default field (text), simply enter your terms and await your results. To search against a specific field, use one of the following forms:
field_name:'search terms'
e.g. subreddit:'funny'
(field field_name 'search terms')
e.g. (field subreddit 'funny')
Combining multiple terms requires use of an 'and' clause (see also below): (and subreddit:'blog' author:'reddit')
Note that a colon is required for the first form, and not allowed in the second. Use of single quotes around the search term is required, except for integer fields (is_self and over18), where they must be excluded. Field identifiers are lowercase.
* When querying against these integer fields, do not use single quotes, e.g.
(and author:'reddit' is_self:0)
Comments are not included in the search index at this time.
Search Syntax
The current search syntax is cumbersome. A simpler to use syntax will be available in the future.
Features
Boolean Operators
The search syntax supports:
- and
- or
- not
Examples:
(and reddit:'blog' author:'reddit') (or (field reddit 'blog') (field author 'reddit')) (and (field reddit 'blog') (not author:'reddit'))
Moderate stemming
A limited number of English terms may be "stemmed" - for example, a search for "dogs" may return results with the word "dog" in them.
All search terms are required
If you search for "who let the dogs out yesterday", posts that have the phrase "who let the dogs out" will not match, as they lack the term "yesterday"
Questions / Comments / Discussion
Please direct any questions about the new search to the Help reddit.