5

I'm getting the wrong number of results back from the /search route depending on what combination of values I provide for the tagged and nottagged parameters.

Examples:
http://api.stackoverflow.com/1.0/search?tagged=swing&nottagged=java

Here the response is reporting 149 total results, which is in agreement with what I'm currently seeing on site. The page size returned is 30, but I'm only getting back 29 questions.

http://api.stackoverflow.com/1.0/search?nottagged=php&tagged=curl

Here the total (290) and page size (30) in the response are also correct, but I'm only getting back 28 questions.

http://api.stackoverflow.com/1.0/search?tagged=curl&nottagged=perl

Here I'm only getting 27 questions returned in the first page of results when there are 894 in total.

Update:

It looks like there's been some progress (or this is mere coincidence) because when I run my tests again I get 29 questions in the result for the 3rd link instead of only 27.

7
  • 1
    Still no official answer on this one? Seems quite important to me!
    – johnwards
    Jul 2, 2010 at 8:04
  • bill - i show 30 for the 3rd link. Jul 19, 2010 at 16:54
  • @Bill 30 to me on the 3rd Jul 19, 2010 at 18:04
  • @code, @system, @Kevin: I'm now getting 30 on the 1st and 3rd links, but still only 29 on the second. The pagesize value is correct (30), but only 29 questions are in the result. Jul 19, 2010 at 19:28
  • 1
    @kevin - confirmed - 2nd link shows 29 results. o.t. - bill, only the first @ is honored, the rest are ignored. Jul 19, 2010 at 19:34
  • 1
    @Bill - that'll teach me to count... investigating. Jul 19, 2010 at 19:35
  • @code: Thanks. You'd think I would know how this system works by now. :) Jul 19, 2010 at 20:56

1 Answer 1

1

Alright, I think I've finally crushed this one.

This bloody bug has been an albatross. Non-reproducible locally, intermittently reproducible on the database end... just gah, gah everywhere.

1
  • I had a feeling this one would be nasty when the test output started changing on its own. Thanks for killing it. Jul 29, 2010 at 12:42

You must log in to answer this question.

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