How do I search?
Enter search terms in the search box that appears in the upper right corner of every page, and press Enter.
If you need to refine and narrow your search, here are some basic tips:
- To search within specific tag(s), enter them in square brackets:
[maintenance] seatsearches for mentions of "seat" within the [maintenance] tag.
- To find a specific phrase, or to search a string of special characters, enter it in quotes: like
"flat tire", or
- To limit your search to just the title of a question, use
title:followed by the search term. Likewise, search the body only (exclude the title) with
- To search just your posts:
user:me trainingsearches all of your posts for the word "training".
- To exclude results from a tag, term or phrase, prefix it with
-in your query:
waffles -unicornsfinds posts that mention tasty batter-based breakfasts without including mythical creatures, while
[laurel] -[hardy]includes only posts pertaining to the first half of the classic comedy couple.
- Use wildcard searches to broaden results; add an asterisk (
*) anywhere in the word, like
Advanced Search Options:
We offer a number of advanced search operators to help you find very specific information.
To search for only questions that fall within a particular range for score, number of answers, or number of views, you can enter an upper or lower parameter, or a range.
score:-1..will both return posts with a score greater than or equal to -1
views:500-1000will return posts with 500 to 1000 views
answers:..3will return questions with 3 or fewer answers
You can use specific dates or date ranges to narrow results down to posts created or active within a certain time period, using the following operators:
created:to specify when the posts were created
lastactive:for posts active in a specified time period
Dates can be entered in the following formats:
- year only – e.g.,
created:2012..2013searches posts created from January 1, 2012 through December 31, 2013;
created:2012searches posts created from January 1, 2012 through December 31, 2012.
- year and month – e.g.,
created:2012-04..2012-05searches posts created between April 1, 2012 and May 31, 2012.
- day, month, and year – e.g.,
lastactive:2012-04-03searches posts who were last active between 12:00 AM on April 3, 2012 and 11:59 PM on April 3, 2012.
Please note that all times are recorded in UTC; the results may not match your timezone.
You can also limit searches to a specific user's content (your own or someone else's). You will need the user id to search another user's posts.
user:me(or any user id) returns only your posts (or only the posts from whichever user whose id you entered)
infavorites:mine(or any user id) returns only questions that you (or the user whose id you entered) have favorited.
intags:minereturns only posts that appear in tags you have marked as favorite.
The following search operators can be used with values of yes/no, true/false, or 1/0 (each pair behaves the same):
isaccepted:yes/true/1 returns only answers that have been marked "accepted"; no/false/0 returns only answers that are not marked accepted.
hascode:yes/true/1 returns only posts that contain code blocks; no/false/0 returns only posts that contain no code.
hasaccepted:yes/true/1 returns only questions that have accepted answers; no/false/0 returns only questions with no accepted answers.
closed:yes/true/1 returns only questions that are closed; no/false/0 excludes closed questions from the search.
duplicate:yes/true/1 returns questions that have been marked as a duplicate of another question; no/false/0 excludes duplicate questions from the search.
migrated:yes/true/1 returns only questions that have been migrated to a different site; no/false/0 excludes migrated questions from the search.
locked:yes/true/1 returns only locked posts (which have edits, votes, comments, and new answers disabled); no/false/0 returns only posts that are not locked.
hasnotice:yes/true/1 returns only posts with a notice shown below them; no/false/0 returns only posts that do not have a notice applied.
wiki:yes/true/1 returns only community wiki posts; no/false/0 returns only non-community wiki posts.
url:"example.com"searches for posts containing the url "example.com"
is:questionnarrows results down to just questions, and
is:answerreturns only answers
inquestion:50691restricts the search to the question with id 50691. If you are searching using the search box on a question page, you can use
inquestion:thisto restrict results to the post you are already viewing.