LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > LinuxQuestions.org > LQ Suggestions & Feedback
User Name
Password
LQ Suggestions & Feedback Do you have a suggestion for this site or an idea that will make the site better? This forum is for you.
PLEASE READ THIS FORUM - Information and status updates will also be posted here.

Notices


Reply
  Search this Thread
Old 08-11-2019, 06:37 PM   #1
testuser021845
LQ Newbie
 
Registered: Aug 2019
Posts: 1

Rep: Reputation: Disabled
Linux Questions . Org Search mechanism


Dear All,

I am trying to use the search function that is part of Linuxquestions.org. Any query hangs indefinitely. Is this an ongoing issue? I know it has nothing to do with my connection because I ran a connectivity test at the same time.

Best,

Testuser021845
 
Old 08-11-2019, 07:23 PM   #2
scasey
Senior Member
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.7.1908
Posts: 4,263

Rep: Reputation: 1491Reputation: 1491Reputation: 1491Reputation: 1491Reputation: 1491Reputation: 1491Reputation: 1491Reputation: 1491Reputation: 1491Reputation: 1491
What terms are you using for the search?
 
Old 08-12-2019, 02:33 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 13,195
Blog Entries: 9

Rep: Reputation: 3613Reputation: 3613Reputation: 3613Reputation: 3613Reputation: 3613Reputation: 3613Reputation: 3613Reputation: 3613Reputation: 3613Reputation: 3613Reputation: 3613
Quote:
Originally Posted by testuser021845 View Post
Any query hangs indefinitely. Is this an ongoing issue?
Not indefinitely.
But it gets unresponsive sometimes - usually possible to wait it out.

PS:
you should limit your search to 6 months or 1 year ago. If you use "Anytime", it WILL take a while. LQ is HUGE.
 
Old 08-12-2019, 03:18 AM   #4
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: Currently OpenMandriva. Previously openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,419

Rep: Reputation: 1767Reputation: 1767Reputation: 1767Reputation: 1767Reputation: 1767Reputation: 1767Reputation: 1767Reputation: 1767Reputation: 1767Reputation: 1767Reputation: 1767
If you have a look at this forum, you'll see threads about this same issue. From other threads, yes it's ongoing issue, and according to Jeremy, they're looking at fixing that. I think the issue in this case and generally is that, if you search and there's only one string/word in your search term, that can cause the issue that you describe. Because it's not specific enough to any particular subject/thread. For example, if you search for just the word "linux", then there's probably thousands of threads here that contain that word/string - so it may well just timeout instead of displaying all of those threads (because there would be so many of them in that example). I've seen the same issue here too.
 
Old 08-12-2019, 12:50 PM   #5
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 9,329

Rep: Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122
The search has been literally useless for the last half a year. I use Google to search this forum now.

Jeremy's response to this, for the last half decade, was that he was at work on a Sphinx-based search backend. I think it might be time to roll that out.
 
Old 08-12-2019, 01:12 PM   #6
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora, ubuntu, others
Posts: 3,801

Rep: Reputation: 647Reputation: 647Reputation: 647Reputation: 647Reputation: 647Reputation: 647
Most of it depends on search terms, I've used it in the past couple of weeks and I had to keep adjusting the seach words to get the results I was looking for, and some of the more generic terms I used resulted in what you observed
 
Old 08-12-2019, 01:56 PM   #7
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 8,315
Blog Entries: 13

Rep: Reputation: 3703Reputation: 3703Reputation: 3703Reputation: 3703Reputation: 3703Reputation: 3703Reputation: 3703Reputation: 3703Reputation: 3703Reputation: 3703Reputation: 3703
For these reasons I don't employ advanced search much, I feel there are usually other ways to get around needing to use it.

I nearly always get a timeout my first attempt, then a retry may work. Retries usually emit results very fast by the way.

Sometimes my search spec would've resulted in a very large amount of hits which might barely ever work.

If you change your search choices, you typically end up again with that first timeout experience.

The spare times I do an advanced search, I kick it off, swap tabs or windows and then come back to it at some later point, and it may have results, or it may have timed out.

No idea how much time is too much to have let it timed out and then resubmit where the "switch" is once again reset. I.e. you search, it times out, you ignore it for an hour, or some length time. Performing a retry at that point usually means you're back at the square one rule.
 
Old 08-12-2019, 02:50 PM   #8
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 9,329

Rep: Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122
The problem is (obviously) that the search backend does an SQL query that's so inefficient that it cannot complete.
 
Old 08-12-2019, 03:19 PM   #9
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,174

Rep: Reputation: 3801Reputation: 3801Reputation: 3801Reputation: 3801Reputation: 3801Reputation: 3801Reputation: 3801Reputation: 3801Reputation: 3801Reputation: 3801Reputation: 3801
Since the most recent infrastructure upgrade, the search results should return a bit quicker (although worst-case queries may still time out). While the search update has been delayed due to code update delays, it's something we're now actively working on.

--jeremy
 
Old 08-12-2019, 07:03 PM   #10
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 8,315
Blog Entries: 13

Rep: Reputation: 3703Reputation: 3703Reputation: 3703Reputation: 3703Reputation: 3703Reputation: 3703Reputation: 3703Reputation: 3703Reputation: 3703Reputation: 3703Reputation: 3703
Not knowing when that recent upgrade was, however sometime in the last week I did a very common search I typically perform.

Search for posts by a particular user, in the last week. Basically go to the advanced search option and type in a username, select the exact name once the auto-complete pulldown shows it to you.

These are the types of searches I perform which time out. I don't change any of the other options.

The typical purpose for this search would be on myself, where I know that I responded to a very similar thread, or gave advice about something very similar, and I wish to recall that recent posts. Usually I have some self information to let me know it was within the last week, otherwise I may search as far back as a month. Similarly I may recall another user who answered something where I feel a reference to their answer may be useful, same thing I'd search the last week, or last month based on their username.

And the most common reason for doing so, is because the two easiest ways to recall recent posts from a certain user are (1) what I'm describing here, or (2) finding a post by that user and then clicking on the link that is their name and using that menu to view their recent posts.

Murphy's Law states that if I decide to look up a thread where user A had posted, just so I can see their name as a link proves out that I'll never see the wanted name that way, so instead I use Advanced Search.

Was going to say that I've just searched 2-3 times and received 504 for all of them. Re-loaded LQ, and it says LQ is offline. I'm wondering what will happen to this draft. I'll copy so I can paste it, if needed.
 
Old 08-12-2019, 07:06 PM   #11
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora, ubuntu, others
Posts: 3,801

Rep: Reputation: 647Reputation: 647Reputation: 647Reputation: 647Reputation: 647Reputation: 647
Searches for a particular user posts is what I usually do in advance
 
Old 08-12-2019, 10:12 PM   #12
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 15,785
Blog Entries: 27

Rep: Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632
I seldom used the LQ search, but I've found the search to be on the slow side for quite some time and attribute it primarily to the ever-increasing size of the LQ database.

But, in testing a bit in response to OP first post, I did encounter an oddity. I searched for "k3b" and "K3B" and search responded almost immediately with "nothing found" (or words to that effect). I know that there have been a number of posts referring the k3b over the years. (In case you aren't familiar with it, k3b is the KDE optical disk burning software.)

Searching for other terms ("burning" "plasma") returned results reasonably quickly (less that ten seconds, to my surprise--a result of the improvements Jeremy mentioned above, no doubt).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
possible search crash.../home/httpd/linuxquestions/questions/search.php aus9 LQ Suggestions & Feedback 3 09-06-2008 08:27 PM
secure mechanism for encryption/decryption on linux Synesthesia Linux - Security 10 09-04-2006 03:09 PM
Application Error Logging mechanism in Linux kidskc Programming 2 11-03-2005 03:11 PM

LinuxQuestions.org > Forums > LinuxQuestions.org > LQ Suggestions & Feedback

All times are GMT -5. The time now is 07:20 AM.

Main Menu
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration