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.



returns 102 Qs and As

My user page indicates 89, but the onhover adds to 87.

le old screenshot

So I have 12 deleted posts on SO for C# (eh, wow), and the search returns the count of all of those, but I can't see all of them. (not 10k yet) Adding the "wiki:0" qualifier (as one example) changes that to be "accurate".


@TimStone points out this demonstrates the problem nicely:




share|improve this question
also of note, this page is really slow to update (the search page) since I answered another and am up to 80/8/2/12 and 102, not 79/8/2/12 and 101. – jcolebrand May 18 '11 at 18:09

2 Answers 2

up vote 3 down vote accepted

The fetch for tag/user combinations is treated in a special way, one that did not correctly account for deleted vs not in the initial search for post IDs that were results. Note: adding wiki:0 took it on a different code path.

This had 2 effects discussed in comments here:

  1. Total counts were off
  2. Page counts were off

Page counts were off because we re-check for deleted or not when performing the per-page query (since content may have been deleted since we last indexed), since deleted posts were in that paged list of IDs, you saw sub-full counts there.

The cause of both of these will be fixed in the next build.

share|improve this answer
In summary: we aren't going crazy. (At least not because of this...) – Jon Seigel May 19 '11 at 17:29

Try this instead.

The tag counts and scores are for non-wiki questions and answers.

I manually counted 89 posts, so the number that appears on the profile page seems correct (albeit a tad confusing).

I can only assume the count of 100 must include deleted posts.

share|improve this answer
I don't have 10k on SO, so I can't check if any answers were deleted recently. – Jon Seigel May 18 '11 at 17:16
The 89 is (correctly) the sum of all his questions and answers, regardless of wiki status. I think the 100 might be inclusive of deleted content, but I'm not sure. – Tim Stone May 18 '11 at 17:17
cool, now what about the 100 vs 89? surely I don't have 11 deleted answers/Qs out there, but I can't see those so idk. – jcolebrand May 18 '11 at 17:19
If 89 is the actual count of everything not deleted, then come to think of it, the number on the profile page is probably correct (albeit a bit confusing), and this is a bug with search. – Jon Seigel May 18 '11 at 17:20
WTF. This may be separate, but I think there's a bug in the paging algorithm -- on 50 posts/page setting, I twice manually counted 49 on the first page, 40 on the second page. So 89 looks correct, regardless of how they appear. – Jon Seigel May 18 '11 at 17:25
I imagine I've mis classified the bug. I would love someone to reclassify it appropriately. I know I found an issue, but I'm not sure what the issue is, persay. – jcolebrand May 18 '11 at 17:26
@JonSeigel Oh good, I'm not crazy then. I saw the same thing, but inconsistently, so I thought maybe I miscounted. – Tim Stone May 18 '11 at 17:26
@dra: It would appear there are two issues here... – Jon Seigel May 18 '11 at 17:28
@Jon ~ Most likely. I would like the tooltip to list all (wiki and non-wiki) but I want the search/paging to be corrected too. – jcolebrand May 18 '11 at 17:30
@Jon: I also count 49+40(+1). However, my guess is that this is not a pagination issue, but rather that for whatever reason there's 1 item not shown on the first page, and 10 items not shown on the second. – Hendrik Vogt May 19 '11 at 13:26

You must log in to answer this question.

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