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 08-10-2011, 07:37 PM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
Search Forums: Getting an exact match for expression LINUX DISTRO.


Quote:
Originally Posted by jeremy View Post
If you want to search for an exact string, you need to place it in quotes.

Code:
"search for this string"
--jeremy
May be a new search engine has been adopted since jeremy's post, which is dated 2010/07/23. The case is that if you try (we are speaking about the subforum Linuxquestions.org> Forums> Search Forums) looking for "LINUX DISTRO" (use the double quotes when typing) you'll get instances of LINUX alone and of DISTRO alone. The same happens with "THE FILE" and, presumably with all strings of this form. Is this normal? And if so, how do I get an exact match?

Last edited by stf92; 08-10-2011 at 07:38 PM.
 
Old 08-10-2011, 08:03 PM   #2
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,597

Rep: Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080
Some very common words ("Linux" and "the" in your case) may cause this behavior because the FULLTEXT index ignores them, but for most cases "exact string" will only return results with the exact string.

--jeremy
 
Old 08-10-2011, 08:04 PM   #3
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,597

Rep: Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080
For an example of how search will be handled moving forward, you can check out the search at http://www.androidquestions.org/

--jeremy
 
Old 08-10-2011, 08:55 PM   #4
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Thank you. With my two example strings it has the same behaviour. For me, the ideal would be for the engine to behave just like the search command of a text editor. However, maybe that would place too heavy a burden on the engine. Regards.
 
Old 08-11-2011, 06:06 AM   #5
EmaRsk
Member
 
Registered: Mar 2006
Distribution: Mint, WSL Ubuntu
Posts: 134

Rep: Reputation: 32
It's an annoying and frustrating behaviour I noticed in every forum. :-(
I honestly fail to see why the searching features are never implemented right.
 
Old 08-11-2011, 09:58 AM   #6
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,597

Rep: Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080
Doing search correctly is actually quite a bit more difficult than most people realize (and Google has set the expectation fairly high). That being said, are you seeing major issues with the http://www.androidquestions.org/ search, which fixes a significant number of deficiencies in the current LQ search.

--jeremy
 
Old 08-11-2011, 06:48 PM   #7
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by jeremy View Post
Doing search correctly is actually quite a bit more difficult than most people realize (and Google has set the expectation fairly high).
By "Doing search" do you believe jeremy is meaning writing a search engine? Or using the search engine to find RECIPE COOKIES? The context "Google has set ..." seems to demand the first interpretation. But really "Doing search" is what the user does!

Last edited by stf92; 08-11-2011 at 08:41 PM.
 
Old 08-12-2011, 09:14 AM   #8
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,597

Rep: Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080
Implementing search perhaps would have been a clearer way to word it.

--jeremy
 
Old 08-12-2011, 11:55 AM   #9
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Thank you very much. To follow the thread, put "WLCOM AMERICA" (using the quotes) in Google and you'll see only instances of 'WELCOME AMERICA'. So, to ask the engine to look for the exact wording seems to demand a lot. That is, either the engine would have to be a highly sofisticated one, so sofisticated it would take millions of man-hours to design, or the search would take millions of years or both.

But I rather think they do it on purpose, with the intention of facilitating the user labor. I do not know, for they expressly put 'Did you mean: wilcom america?'.
 
Old 08-13-2011, 02:01 AM   #10
EmaRsk
Member
 
Registered: Mar 2006
Distribution: Mint, WSL Ubuntu
Posts: 134

Rep: Reputation: 32
In google:
Quote:
Showing results for "wilcom america". Search instead for "wlcom america".
And clicking on "wlcom america":
Quote:
Your search - "wlcom america" - did not match any documents.
 
Old 08-13-2011, 02:45 PM   #11
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Very interesting. It would mean the data queried depends on the user's location.
 
  


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
Using grep to find EXACT MATCH andy2008 Programming 19 02-14-2019 08:36 AM
[SOLVED] Match datetime by the minute (not an exact match by the second) [mysql] hattori.hanzo Programming 1 10-21-2010 05:43 PM
egrep for only words(exact match) msgforsunil Linux - Newbie 4 04-14-2010 05:27 AM
how to match the exact pattern using grep utility vinaytp Linux - Newbie 3 05-11-2009 12:36 AM
how to find an exact substring match? ldp Programming 7 02-22-2005 06:28 AM

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

All times are GMT -5. The time now is 03:27 PM.

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