LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-12-2009, 03:06 PM   #1
stabul
LQ Newbie
 
Registered: Jun 2009
Posts: 4

Rep: Reputation: 0
Help on syntax for searching "all words"


Hi all !

I just registered on this excellent website, on which Google has so often directed me in the past.
I got a stupid issue : I have trouble searching for "all words" in the forums. I found a post saying that it's a mySQL-like syntax : keyword "AND". But, for instance, if I entered "virtualbox AND guest AND resolution" (without the double quotes), searching in the Slackware forum only, it returns for instance the thread cant-get-my-videocard..., which contains no word "virtualbox" !

I didn't find any help page for the search syntax. Does it exists ? If not, I would be great to have one.

Thanks in advance for the response,
stabul

P.S.: the thread I refered to also talks about the "Full-Text Stopwords". Does that mean that all corresponding strings listed at the mySQL website will be excluded from any search ?
 
Old 06-12-2009, 03:14 PM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,954
Blog Entries: 5

Rep: Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755
It works for me at:
http://www.linuxquestions.org/questions/search.php
I input the search terms you did in the keyword search box. I also insured "Search All Open Forums" was highlighted then I clicked on "Search Now".

That returned the following page with 16 hits:
http://www.linuxquestions.org/questi...archid=3306030
 
Old 06-12-2009, 03:55 PM   #3
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 10,323

Rep: Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613
AND is indeed the default, but I'm not able to reproduce what you're seeing. If I search for "virtualbox AND guest AND resolution" without the quotes in only the Slackware forum, the thread you linked to is not returned in the results.

--jeremy
 
Old 06-14-2009, 03:19 PM   #4
stabul
LQ Newbie
 
Registered: Jun 2009
Posts: 4

Original Poster
Rep: Reputation: 0
dThanks for your answers. Here are some fresh information : I just realized that the problem occurs while I'm not logged in, i.e. while I'm a simple guest !
P.S.: jeremy, concerning the selected forums, it's in fact Slackware and its child forum Slackware Installation.
stabul
 
Old 06-14-2009, 03:37 PM   #5
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 10,323

Rep: Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613
Guests did have boolean searching disabled. If I recall this was done due to resource limits a while back. We should have the needed resources now, so I've enabled boolean across the board for all searches. Thanks for the feedback.

--jeremy
 
Old 06-14-2009, 04:22 PM   #6
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 230Reputation: 230Reputation: 230
Quote:
Originally Posted by jlightner View Post
It--your link--doesn't work for me (I think it has expired). In my experience there is no easy way to save an LQ search to give to others.

Jeremy, am I missing something?
 
Old 06-14-2009, 05:04 PM   #7
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 10,323

Rep: Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613
Individual searchid's do indeed expire. To post a link that will always work, you'd need to post the actual POST URL of the search in question.

--jeremy
 
Old 06-14-2009, 05:11 PM   #8
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 230Reputation: 230Reputation: 230
That's what I figured, but how do I capture the permanent URL of a successful or interesting LQ search?
 
Old 06-14-2009, 06:35 PM   #9
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 10,323

Rep: Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613
If you want all the defaults, the following will work:

http://www.linuxquestions.org/questions/search.php?do=process&query=$query

(where $query is the urlencoded query you'd like to search for)

--jeremy
 
Old 07-17-2009, 08:54 AM   #10
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 230Reputation: 230Reputation: 230
That works, as far as it goes; but is there any way to save or construct more complicated searches? I'm thinking w/ tags &/or user names.
 
Old 07-17-2009, 10:44 AM   #11
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 10,323

Rep: Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613
You can look at the advanced search page for the variable names to user for more complicated searches. If there's enough demand, it's possible we could add a "save this search" type of link to the search results page.

--jeremy
 
1 members found this post helpful.
Old 10-20-2010, 10:01 AM   #12
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 230Reputation: 230Reputation: 230
Was the "save this search" link ever implemented? I do not see it. Certainly the fact that this hasn't been an issue for me for over a year shows that there isn't much demand.

OTOH, even w/ all your hints I cannot figure out how to encode these:

prefixchoice[]=solvedthread_solved
replyless=1
replylimit=0

I referred to the source of the Advanced Search page to find the variables & their values, but I don't know if that was the right thing to do or how to construct the complete URI.

Perhaps if you would do this one, it would point the way to the method for making others.

TIA

Last edited by archtoad6; 10-21-2010 at 05:40 AM. Reason: typo
 
Old 10-20-2010, 10:07 AM   #13
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 10,323

Rep: Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613
The "save this search" feature was never implemented. The next major code upgrade will bring an entirely new search infrastructure with it, so it's possible we'll revisit it at that time. As for more advanced searches, you can take the base URL I posted in #9 and add items from the advanced search to it from there. As an example:

http://www.linuxquestions.org/questions/search.php?do=process&query=$query&replyless=1

Will give you zero reply posts containing "$query".

--jeremy
 
1 members found this post helpful.
  


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
"Permission denied" and "recursive directory loop" when searching for string in files mack1e Linux - Newbie 5 06-12-2008 07:38 AM
Im searching software like "ASE" and "Fraps" Krilintar Linux - Software 2 12-27-2005 10:39 AM
Google Ad-Words advertises MS's "Get the fact campaign" on LQ? Squall General 6 03-23-2004 10:47 PM


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

Main Menu
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