What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 150 Stack Exchange communities.


From Advanced Super Ninja Search Options in: http://stackoverflow.com/search

I couldn't really understand the difference between hasaccepted and isaccepted.

Please explain. If possible, give me some question links, so that I can understand this better.

share|improve this question

1 Answer 1

up vote 6 down vote accepted

From the Advanced Super Ninja Search Options:

  • hasaccepted: questions that have an accepted answer (or not)
  • isaccepted: answers that are accepted answers (or not)

One is for questions, the other for answers.

It doesn't change a lot if you use them alone. However, if used with another operator, like for example user:me, you have different results:

Own questions with an accepted answer: http://stackoverflow.com/search?q=user:me+isaccepted:1
Own answers which have been accepted: http://stackoverflow.com/search?q=user:me+hasaccepted:1

share|improve this answer
@Gnoupi If a question has got answers and one of the answer is accepted, what difference does it make in searching with either hasaccepted or isaccepted. Still I couldn't understand and differentiate from searching point of view. Can you explain me this with an example? – Gnanam May 11 '10 at 8:44
@Gnoupi So these 2 search options makes sense only when combined with another operator but not alone. Am I correct? By the way, is there any link on this topic in blog.stackoverflow.com? – Gnanam May 11 '10 at 12:57
@Gnaman: well, you get the same Qn page, but it makes a difference to what you first see on that page. – Charles Stewart May 11 '10 at 13:14
@Charles Any relevant link for this topic in blog.stackoverflow.com? – Gnanam May 12 '10 at 10:23
@Gnaman: Not that I know of. – Charles Stewart May 17 '10 at 8:17

You must log in to answer this question.

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