Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

I wanted to find answers which included the word NSTokenField, but whose question did not have that term in the title. (I was looking for a "what is this UI element"-type question as a dupe target).

I used this search: nstokenfield is:answer -title:nstokenfield and ended up with lots of answers to questions with NSTokenField in both the title and the answer's body.

enter image description here

Am I expecting too much from the search? Is there another way to accomplish this effect? This obviously isn't possible with Google, because it doesn't distinguish between title and body, let alone questions and answers.

share|improve this question
up vote 1 down vote accepted

You can use body:NSTokenField to specify it should specifically appear in the body of a post:

body:NSTokenField -title:NSTokenField is:answer isaccepted:yes

I've added isaccepted:yes for convenience


share|improve this answer
I'm still seeing a few titles with the word, but these are good enough results! Not using body: was definitely the oversight I was having. – Josh Caswell Feb 22 '13 at 4:29

You must log in to answer this question.

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