3

I've been attempting to search SO for answers (and only answers) containing the string plz using the Advanced Super Ninja Search Options.

The query I used is:

is:answer plz

However, the results returned were not what I expected:

Screen grab of search

Firstly, the results returned match questions where the string plz appears only in the title, and not in any of the answers. I've checked and none of the answers, comments, or anything else on those pages contain plz except the question title.

Secondly, the hyperlinks of those matched questions link me to answers on those questions, but as I said, those answers don't contain the plz string I searched for.

Examples of links returned by that search query:

My questions:

  1. Is this or a ?
  2. If this is (and it seems strange to me if it is), is there any way to search just answer body text?

1 Answer 1

10

This is definitely . While using is:answer will only give you answers, recall from the search help page (emphasis mine):

Results are weighted heavily towards question title matches, and any search terms matching the most popular 60 tags will be automatically mapped to a tag to help narrow your search.

Since answers don't have a "title", by default it retrieves matches hits to the question title. This is helpful for when you want to find a highly upvoted answer to a set of related questions.


Now to do what you want to do, you need to include the body: search option like so:

is:answer body:"plz"

This will give you hits for answers that contain the word "plz" in the body.

enter image description here

1
  • This appears to be broken by now, "body" no longer works. :/ Commented Feb 5, 2015 at 16:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .