FlyerTalk Forums - View Single Post - Search problems
Thread: Search problems
View Single Post
Old Feb 12, 2008 | 3:50 pm
  #128  
ed1
 
Join Date: Jul 2002
Location: TPA, PHL
Programs: NW: SE & WC
Posts: 2,136
Originally Posted by KevinSours
The phantom page problem is unrelated to search. What happens is that VB stores the thread lengths rather than recalculate them every time they are needed. That means the stored length needs to get updated every time a post is added or removed from a thread. For reasons that aren't entirely clear to me the stored length can get out of sync with the actual length of the thread*. Paging goes off the stored length, so if that is larger than the actual length then there will be a page on the picklist that isn't really there. At least that's the usual cause of things.
Kevin

*There are lots of ways to add, deleted, and or move posts -- probably one of them doesn't correctly update the length.
Thanks for clearing up the reasons for the phantom page phenomenon.

We weren't speculating that the cause of it had anything to do with search, rather that the cause of it might also be the cause of search returning results in "My Threads" from our posts which were deleted from threads. Lin821 found the post count in "My Threads" didn't agree with that which is displayed with the user information under the user name to the left of posts in the forums.

The normal partially displayed posts that show up in "My Threads" included those that were "deleted" - each of which linked to the forum at the place where the deleted post used to be.

We were wondering why they were still showing up in "My Threads" and why they were included in the total post count in "My Threads" - also, even more importantly, if these "deleted" posts were visible to anyone using the search for all threads by that user.
ed1 is offline