Search function broken

Posted by: Kenno

Search function broken - 08/03/10 12:43 PM

The forum's search function seems to be behaving erratically. If I search for a short simple word that is expected to yield many hits, such as "amd" or "never", I get no hits (both in basic search and "advanced search").

Also, changing the default date range (1 week) every time I use "advanced search" quickly gets annoying.
Posted by: tim

Re: Search function broken - 08/03/10 11:08 PM

I'll take a look at the short queries.

I know changing the date range is irritating. Unfortunately, I've looked at changing the default and it's not trivial (read I couldn't figure out how to do it after spending 15 minutes looking through the control panel and source code).
Posted by: Kenno

Re: Search function broken - 12/20/10 08:37 PM

Still broken. It is particularly painful that anything less than 4 letters is ignored. Recent searches yielding no hits include pbc, pme, vv2, nmr, ace, vmd, mpi, gnu, gcc, icc, ifc, gpu, amd,... In an acronym-driven world, this is a serious handicap.

I also encountered unrelated flakiness on at least one occasion but I currently don't remember what it was. I'll tell you if it comes up again. In the meanwhile, maybe we should encourage users to try google.
Posted by: tim

Re: Search function broken - 12/22/10 01:07 PM

Well, I've managed to fix the date range (set it to five years). It involves changing the UBB source (I finally found the right file to edit), but it's not so bad. Unfortunately, I just can't get searches for short terms to work. I've set the minimum search length down to two, but it still doesn't work. I suspect this might be a bug in UBB. I think using Google is a good idea, one thing to note is that you can do a site-specific search in Google, e.g. type the fillowing into your search bar:

(your search keyword(s) here)

Will search just the forum.
Posted by: Kenno

Re: Search function broken - 12/29/10 12:42 PM

Nice work on the date range! Also, good idea to explicitly advertise Google's site-specific search. I've been using it for a while but not everyone may know about it.
Posted by: rmv

Re: Search function broken - 04/03/13 04:00 PM

Note that the "Index and Search" page (menu item on pages under Documentation) uses the 'site:' feature to search the forums, as well as the CHARMM documentation.
Posted by: Kenno

Re: Search function broken - 07/17/14 12:05 PM

Sorry for reviving this old thread, but I feel the search function is just getting worse and worse with each forum update, and can now be considered inoperative as far as end-users are concerned. To get a relevant results, and end-user presently has to:
  • make sense out of the "advanced search" page since the "quick search" has disappeared
  • change the "Newer than" fields to "9" and "years", which is easily overlooked, irritating for repeated searching, and I vaguely remember someone complaining about it not accepting higher numbers
  • somehow know that any search involving acronyms will fail because the search algorithm rejects words smaller than 4 characters. For a site in a field of science that subsides on 3-letter acronyms, this is ridiculous
  • when searching for a phrase (say, an error message), click on the "Advanced Search Tips" link to learn that the phrase needs to be embedded into quotes. If they don't, the search behaves extremely unintuitive and the user could be excused for thinking their query has not been answered before. To add insult to injury, the aforementioned link is tiny and misleadingly labeled (I wouldn't consider looking up an error message "advanced" usage), so all too easy to miss
All these factors taken together, even I often find myself struggling to get the right results out of it. I know this is all UBB.Threads' fault and not the site admin's, but it's getting detrimental to the discourse. Would it be possible to hack the php code so that the "Search" in the title bar links here instead of to the native search function? Bonus points if the "CHARMM Forums" radio button could somehow be preselected. wink
Posted by: rmv

Re: Search function broken - 07/17/14 01:49 PM

We've discussed moving to a newer package, but there could be migration issues.

The forum search allows a time range of 20 years; the forums have been online for about 11-12 years.

The problem with PHP hacks has been that they must be repeated whenever the forum software is updated.

If people actually read the READ BEFORE POSTING topic, they might find out about the Google search of the forums.

I'll talk to Tim after he returns from the CHARMM meeting.