LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 03:27 AM   #1
Weapon S
Member
 
Registered: May 2011
Location: Netherlands
Distribution: Debian, Archlinux
Posts: 262
Blog Entries: 2

Rep: Reputation: 49
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, 04:10 AM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
I use this google search.
 
Old 04-28-2012, 09:49 AM   #3
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
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, 10:12 AM   #4
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602

Rep: Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084
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, 12:40 PM   #5
mjolnir
Member
 
Registered: Apr 2003
Posts: 815

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

Rep: Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084
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, 01:05 AM   #7
Weapon S
Member
 
Registered: May 2011
Location: Netherlands
Distribution: Debian, Archlinux
Posts: 262

Original Poster
Blog Entries: 2

Rep: Reputation: 49
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, 03:09 AM   #8
Weapon S
Member
 
Registered: May 2011
Location: Netherlands
Distribution: Debian, Archlinux
Posts: 262

Original Poster
Blog Entries: 2

Rep: Reputation: 49
AHA!

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

Rep: Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084
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, 06:03 AM   #10
Weapon S
Member
 
Registered: May 2011
Location: Netherlands
Distribution: Debian, Archlinux
Posts: 262

Original Poster
Blog Entries: 2

Rep: Reputation: 49
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, 10:05 AM   #11
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
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, 10:33 AM   #12
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602

Rep: Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084
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



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 08:17 AM
Extending logical volume LogVol01 Insufficient allocatable logical exte swap space umeshsharma Linux - Newbie 4 06-22-2009 12:26 PM
Copying a phpbb3 forum contents to a different forum; no admin access on source forum Maligree General 1 08-11-2008 11:45 AM
Searching hard traffic bash programming forum satimis General 5 10-24-2004 12:25 PM
searching the forum kev82 LQ Suggestions & Feedback 2 08-30-2003 04:32 PM

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

All times are GMT -5. The time now is 07:44 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
Open Source Consulting | Domain Registration