LinuxQuestions.org
Review your favorite Linux distribution.
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 04-28-2012, 04:27 AM   #1
Weapon S
Member
 
Registered: May 2011
Location: Netherlands
Distribution: Debian
Posts: 149
Blog Entries: 1

Rep: Reputation: 12
Searching the forum: logical AND??


Hi.

I tried searching the forums for some terms that have to be together to get some decent results. I don't see a "all these terms" checkbox, and "AND" and "&&" didn't work either. It always showed "searched for x OR y OR z".
Is there a way to search for 'all terms' instead of 'any term'?
 
Old 04-28-2012, 05:10 AM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,563
Blog Entries: 29

Rep: Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179
I use this google search.
 
Old 04-28-2012, 10:49 AM   #3
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950
I'm fairly certain that "AND" is the default for almost all search engines. Any hits that include all terms should show up first, before any that have only a subset of them.

Google uses "+term" to specify a term that is required. But I tried it here with "grub +lilo" and "grub lilo" (titles only), and got the same results, so I think the forum search just ignores the extra characters.
 
Old 04-28-2012, 11:12 AM   #4
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 10,628

Rep: Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658
The default for searches is the AND operator, but keep in mind the default is also to search threads and not posts. You can also search for "exact terms".

--jeremy
 
Old 04-28-2012, 01:40 PM   #5
mjolnir
Member
 
Registered: Apr 2003
Posts: 696

Rep: Reputation: 72
Quote:
Originally Posted by catkin View Post
++1
 
Old 04-28-2012, 02:01 PM   #6
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 10,628

Rep: Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658
Also, keep in mind that the pending code update will bring with it a much improved search. The search at http://www.androidquestions.org/forum.php is based on the same code, so can be used as a demo.

--jeremy
 
Old 04-29-2012, 02:05 AM   #7
Weapon S
Member
 
Registered: May 2011
Location: Netherlands
Distribution: Debian
Posts: 149
Blog Entries: 1

Original Poster
Rep: Reputation: 12
Fixed, I guess

Hm. Now I'm unable to reproduce what I got. The search result page explicitly stated "x OR y OR z". I can't remember the x, y and z, though. I hadn't tried '+' yet. So thanks for mentioning that. Also thanks for the Google link.
I can't really see differences on the surface with the Androidquestions search. (And that link crashes Opera :-X )
 
Old 09-29-2012, 04:09 AM   #8
Weapon S
Member
 
Registered: May 2011
Location: Netherlands
Distribution: Debian
Posts: 149
Blog Entries: 1

Original Poster
Rep: Reputation: 12
AHA!

Found it. If you select "sort by relevancy" it always searches OR. Is this intentional/inevitable?
 
Old 09-29-2012, 01:54 PM   #9
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 10,628

Rep: Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658
I'm able to reproduce the "sort by relevancy" behavior you described, but as mentioned in post #6 the search is being completely replaced in the near future. Thanks for the feedback. If you have any comments on the AQ search, do let us know.

--jeremy
 
Old 03-15-2013, 07:03 AM   #10
Weapon S
Member
 
Registered: May 2011
Location: Netherlands
Distribution: Debian
Posts: 149
Blog Entries: 1

Original Poster
Rep: Reputation: 12
It seems it still hasn't been fixed. I think patience is a valor. But the previous reply could be a free-pass to postpone it indefinitely. I have to admit I don't follow linuxquestions' development. Which leaves me wondering: when can I expect the big update to happen?
I personally like forum-based searches to pinpoint hard-to-search-for terms to certain categories. Sorting by relevancy is key in such situations.
 
Old 03-15-2013, 11:05 AM   #11
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,504

Rep: Reputation: 1079Reputation: 1079Reputation: 1079Reputation: 1079Reputation: 1079Reputation: 1079Reputation: 1079Reputation: 1079
Searching has long been an intermittent problem here on LQ. Particularly the inexplicable loss of the logical AND.
jeremy, I can confirm I see the OR listed as the search target when relevancy is selected. Not only that, attempting to re-select "Last posting date" is ignored - and the search that had been successful subsequently fails to find anything.

Very frustrating.

I have defaulted to searching "by posts" as suggested above - that eliminates (most of) the chaff, and may suffice for the OP as well.
 
Old 03-15-2013, 11:33 AM   #12
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 10,628

Rep: Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658
Quote:
Originally Posted by Weapon S View Post
Which leaves me wondering: when can I expect the big update to happen?
I don't have an exact ETA for you, but ideally some time late next quarter. As we start to test and firm things up, much information will be posted here in the LQS&F forum.

--jeremy
 
  


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
[SOLVED] cfdisk : FATAL ERROR: Bad logical partition 10: enlarged logical partitions overlap riller Fedora 8 05-31-2012 09:17 AM
Extending logical volume LogVol01 Insufficient allocatable logical exte swap space umeshsharma Linux - Newbie 4 06-22-2009 01:26 PM
Copying a phpbb3 forum contents to a different forum; no admin access on source forum Maligree General 1 08-11-2008 12:45 PM
Searching hard traffic bash programming forum satimis General 5 10-24-2004 01:25 PM
searching the forum kev82 LQ Suggestions & Feedback 2 08-30-2003 05:32 PM


All times are GMT -5. The time now is 12:41 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration