41

How do I search by negative votes?

I want to find questions with votes between -4 until -1. I failed to search by "votes: -2"; it returns positive votes number.

2
  • 2
    Just out of curiosity: May I ask what are you heading for? Commented Jun 10, 2017 at 12:47
  • I wanted to check questions that can be closed and maybe up vote or try to answer before it'll be closed if I think It'll help
    – Ori Marko
    Commented Jun 11, 2017 at 4:53

1 Answer 1

70

Use the between range operator (lowvalue .. highvalue)

score:-4..-1

By using score:-2 you'll get posts with a score of -2 and higher, which explains why you also see positive scored posts.

To get posts with only a score of -2 use score:-2..-2

To get posts with a score with -2 or less, leave out the lowvalue: score:..-2

All the available search options are expalined in the Help Center under Searching and there is a cheat sheet at the right-hand side of the search result page.

Relevant MSE post: Add search option for down voted posts

10
  • so score:-4..-4 will get only -4
    – Ori Marko
    Commented Jun 8, 2017 at 8:34
  • 29
    You can omit the starting value, use score:..-1 to get all negatively scored posts, score:..-2 for posts with a score of -2 and lower.
    – Martijn Pieters Mod
    Commented Jun 8, 2017 at 8:39
  • 3
    @MartijnPieters where can I find the documentation of search feature?
    – xenteros
    Commented Jun 8, 2017 at 10:51
  • 21
    @xenteros: in the help center: stackoverflow.com/help/searching
    – Martijn Pieters Mod
    Commented Jun 8, 2017 at 10:53
  • 2
    i.imgur.com/wT7apDH.png Commented Jun 11, 2017 at 1:08
  • Also this is really interesting, I wish they'd bring back the tab filters that let me see only +3.. questions. Commented Jun 11, 2017 at 1:14
  • Has anything changed recently? I'm searching for score:-4..-1 as described, and it's only returning posts with 0 votes. Commented Oct 10, 2019 at 18:43
  • 1
    @EduardoBaitello yes, there is a test going on that shows downvoted posts as if they have a zero score.
    – rene
    Commented Oct 10, 2019 at 18:47
  • Thanks @rene. Is there a source where I can refer to be aware of these tests/changes? Commented Oct 10, 2019 at 19:01
  • @EduardoBaitello sheer luck and keep an eye on meta, specially new posts from staff: meta.stackoverflow.com/a/390179/578411
    – rene
    Commented Oct 10, 2019 at 19:09

You must log in to answer this question.

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