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

On Biblical Hermeneutics, we are trying to provide second opinions. It seems we can search for open questions with no answers:

answers:0 is:question closed:no

Or open questions with one or more answers:

answers:1 is:question closed:no

But we can't easily find the questions with exactly one (1) answer. Or at least, I haven't discovered a way to do that.

share|improve this question
There is no way to do so. – nhahtdh Jan 7 '13 at 15:07
@nhahtdh: Hmm... Sounds like I should turn this into a feature-request. – Jon Ericson Jan 7 '13 at 15:08
That's a cool idea. (Providing a second opinion, I mean) – Pëkka Jan 7 '13 at 15:09
@Pekka: I was hoping there was a not operator: answers:1 !answers:2. Nope! (Or rather, "not". ;-) Also, it seems answers:X turns on is:question, so we can shorten the URL a bit that way. – Jon Ericson Jan 7 '13 at 15:12
I think the only way to conjure up such a query would be through the data explorer. – Jeff Mercado Jan 7 '13 at 15:20
@JeffMercado: The data explorer doesn't cover beta sites. :( – Caleb Jan 7 '13 at 15:28
@Caleb: Which is the unfortunate part. – Jeff Mercado Jan 7 '13 at 16:42
+1, this would be an amazing thing to be able to do. Could probably be userscript'd though... – Charles Jan 7 '13 at 19:01
up vote 18 down vote accepted

So I was reviewing the revisions to the search announcement when something stuck out in rev 14:

  • New range support, here are some examples:
    • answers:1..1 (exactly one answer)
    • answers:10..20 (10 to 20 answers)

It totally works. Here are all open PHP questions with exactly one answer, which has not been accepted. You can also use the range operator for score, and probably all of the other things that are numbers. For example, here are all 24,000 PHP questions with negative scores, down to -100.

All Hail Elasticsearch!

share|improve this answer
There are only 24,000? – Michael Berkowski Jan 8 '13 at 1:18
The cv-ring also issues delv-pls requests and are very aggressive about it. Questions with negative score are also routinely automatically pruned by the system. Here's the current low-score winner in PHP, at -14. – Charles Jan 8 '13 at 1:19
As it turns out, I'd noticed that too. It looks like the notation has already been updated, but I'm sure when it's stable this will be the right answer and I'll get (my second) status-complete feature-request. – Jon Ericson Jan 8 '13 at 17:04

You must log in to answer this question.

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