LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Projects > LinuxQuestions.org > Bug
User Name
Password

Notices


advanced search on username does not always return data in expected sortorder Issue Tools
issueid=64 09-08-2009 06:55 AM
Senior Member
advanced search on username does not always return data in expected sortorder

I use the advanced search to find threads that I've posted in. I've noticed that the order of the returned results is not always in expected order.
Code:
thread   | last post
---------+-----------
thread 1 | today 12:30
thread 2 | today 10:38
thread 3 | today 10:22
thread 4 | today 09:37
thread 5 | today 09:17
thread 6 | today 13:11
thread 7 | today 00:32
The thread is indeed displayed in bold in the results

Search settings:
find posts by user; exact name
any prefix
search all open forums; also search child forums
at least 0 replies
any date and newer
last posting date in descending order

For reference, searchid=3495233 (not sure if that helps). I'm not quite sure under which conditions it happens.
Issue Details
Project LinuxQuestions.org
Category Unknown
Status Not a Bug
Priority Unknown
Affected Version Unknown
Fixed Version (none)
Users able to reproduce bug 0
Users unable to reproduce bug 0
Assigned Users (none)
Tags (none)

09-08-2009 09:28 AM
root
 
Due to the way we bump threads with no replies, you may see issues like this. If the thread in question did have a reply, please let me know as and I'll change the bug status and look into this further.

--jeremy
Reply
09-08-2009 11:21 AM
Senior Member
 
All those post have replies as I did reply in them. That's why I find them in the search ;)
Reply
09-13-2009 11:53 AM
Senior Member
 
OK,I think that I know what the problem is. I often visit the search twice in one session. It happened just now again and it states somewhere "Search took 0.35 seconds; generated 53 minute(s) ago". So the results of the search are the old results. If however in those 53 minutes a new post occured in one of the found threads, it will be highlighted (bold) and in the wrong position (sort order).

Hopes this helps.
Reply
09-14-2009 11:25 AM
root
 
Due to the way searches are cached, that's actually the expected behavior. Thanks for taking the time to do the additional troubleshooting.

--jeremy
Reply
Reply

  



All times are GMT -5. The time now is 12:54 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration