When sorting search results by number of votes first item on second page has more votes than last item on first page.

See: https://stackoverflow.com/search?tab=votes&pagesize=15&q=programming https://stackoverflow.com/search?tab=votes&pagesize=15&q=programming&page=2

This returns 15 results per page. On first page the first question has 2330 votes, last question has 228 votes. On second page the first question has 1410 votes


This is happening due to how we "roll up" to answers in most search cases, however there is a workaround being deployed now that will allow us proper sorting in that roll-up case.

Expect to see this fixed over the weekend (we'll need a re-index pass across all posts on all sites).

Update: This is now rolled out across the network, sorting should work as expected now.

  • Seems to have re-occurred: meta.stackexchange.com/questions/167307/… – user200500 Feb 12 '13 at 18:39
  • Nick, this doesn't seem to have been fixed. This question with -19 score, for example, appears on the third page of the highest voted tab with 15 results per page. – user200500 Feb 25 '13 at 0:35
  • @Asad - Link? I have no idea what search you were running :) Also note this question is specific to search results, which are a completely different system than all other question lists on the site. – Nick Craver Feb 25 '13 at 2:57
  • Here's a link to the first page of the votes tab. Scroll to the bottom, and there's the question with -19 score. – user200500 Feb 25 '13 at 3:00
  • Is this really a bug, or am I just misunderstanding how the votes tab is supposed to work? – user200500 Feb 25 '13 at 4:32
  • 1
    @Asad that has nothing to do with search, so separate issue (the tag engine we call it)...we're taking a look now as that's definitely a bug, thanks for the report! – Nick Craver Feb 25 '13 at 11:10
  • Looks like you fixed it! :D If so, could you please leave an answer here and/or mark as completed? – user200500 Mar 5 '13 at 21:16

You must log in to answer this question.

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