The Search Function

Is something not working the way it should? Is there a feature or function you'd like to see on the site? Let us know about it here!

Moderator: maoman

The Search Function

Postby Taffy » Wed Apr 25, 2012 09:42

Couple of little issues for the search function. The first is "fuzzy" searching. At the moment, if you search for "mcdonalds" in the directory you'll get no results; you have to search for "mcdonald's" (with the apostrophe) in order to see the relevant entries. Also if someone slightly misspells an entry, they won't get any results (for example, searching for "bobundaye" won't bring up the entry you want, only "bobwundaye" will). Any chance of adding something like the Google "did you mean Bobwundaye?" feature?

The second one is a little odd. I have 1Password installed on my Mac, and integrated into Safari. Using the search function on Taiwanease triggers a 1Password dialogue box asking if I want to save this login. This is not something that happens with searches on other sites. :idunno:
User avatar
Taffy
Card-Carrying Taiwaneasian
 
Posts: 703
Joined: Tue Aug 30, 2011 09:23
Location: Zhonghe, Xinbei
Has given kudos: 110 times
Has gotten kudos: 103 times

Re: The Search Function

Postby Beaker » Wed Apr 25, 2012 10:10

Taffy wrote:Couple of little issues for the search function. The first is "fuzzy" searching. At the moment, if you search for "mcdonalds" in the directory you'll get no results; you have to search for "mcdonald's" (with the apostrophe) in order to see the relevant entries. Also if someone slightly misspells an entry, they won't get any results (for example, searching for "bobundaye" won't bring up the entry you want, only "bobwundaye" will). Any chance of adding something like the Google "did you mean Bobwundaye?" feature?

The second one is a little odd. I have 1Password installed on my Mac, and integrated into Safari. Using the search function on Taiwanease triggers a 1Password dialogue box asking if I want to save this login. This is not something that happens with searches on other sites. :idunno:


1) It is actually a lot of effort to implement a search function like that (Google has hundreds of engineers, we only have a few). We would like to, but there are many things on the docket.

2) I have no idear... It is a but odd. Normally, they are proced by fields set with the "password" type. Our isn't :idunno: I can look at it, but I'm not sure if I can help on this one. For once, I might actually be able to say it is another applications problem.
-Beak
You have no idea where I've been... unless you're stalking me... in which case, can you tell me where I was last week?
User avatar
Beaker
Tech
 
Posts: 511
Joined: Wed Aug 31, 2011 10:03
Has given kudos: 50 times
Has gotten kudos: 81 times

Re: The Search Function

Postby Taffy » Wed Apr 25, 2012 10:17

Beaker wrote:It is actually a lot of effort to implement a search function like that (Google has hundreds of engineers, we only have a few). We would like to, but there are many things on the docket.

This is precisely what overtime and horsewhips were designed for. Fair enough though, I understand it's not a priority.
I have no idear... It is a but odd. Normally, they are proced by fields set with the "password" type. Our isn't :idunno: I can look at it, but I'm not sure if I can help on this one. For once, I might actually be able to say it is another applications problem.

No worries, it's a minor irritant, that's all.
User avatar
Taffy
Card-Carrying Taiwaneasian
 
Posts: 703
Joined: Tue Aug 30, 2011 09:23
Location: Zhonghe, Xinbei
Has given kudos: 110 times
Has gotten kudos: 103 times

The Search Function

Postby Anonymous » Fri Apr 27, 2012 08:11

we might try mysql's soundex.
I added fuzzy search to our todo.

Code: Select all
mysql> select soundex('bobundaye'), soundex('bobwundaye');
+----------------------+-----------------------+
| soundex('bobundaye') | soundex('bobwundaye') |
+----------------------+-----------------------+
| B530                 | B530                  |
+----------------------+-----------------------+
1 row in set (0.00 sec)

mysql> select soundex('McDonald''s'), soundex('mcdonalds'), soundex('mcdonald'), soundex ('Mac Donald'),soundex ('mc donald');
+------------------------+----------------------+---------------------+------------------------+-----------------------+
| soundex('McDonald''s') | soundex('mcdonalds') | soundex('mcdonald') | soundex ('Mac Donald') | soundex ('mc donald') |
+------------------------+----------------------+---------------------+------------------------+-----------------------+
| M235432                | M235432              | M23543              | M23543                 | M23543                |
+------------------------+----------------------+---------------------+------------------------+-----------------------+
1 row in set (0.00 sec)



The password issue is probably due to the login in the header.

Anonymous
 

The Search Function

Postby Beaker » Fri Apr 27, 2012 10:32

Yea, good idear there.
-Beak
You have no idea where I've been... unless you're stalking me... in which case, can you tell me where I was last week?
User avatar
Beaker
Tech
 
Posts: 511
Joined: Wed Aug 31, 2011 10:03
Has given kudos: 50 times
Has gotten kudos: 81 times

Re: The Search Function

Postby Dragonbones » Sat May 05, 2012 11:13

Sometimes (not always), when I click on the Search... button and start typing (e.g. "pet peeves"), the field retains the word "search", along with what I'm typing, so I end up with something like "sepet peevesarch...". Grrrr.

Edit: I'm on the latest version of Firefox, 12.0, only 11 days old.
“To cook for the pleasure of it, to devote a portion of our leisure to it, is to declare our independence from the corporations seeking to organize our every waking moment into yet another occasion for consumption." --Michael Pollan
User avatar
Dragonbones
Dispenser of Wisdom
 
Posts: 2242
Joined: Sun Nov 28, 2010 19:59
Location: Donghu, Neihu, Taibei
Has given kudos: 143 times
Has gotten kudos: 276 times

Re: The Search Function

Postby Beaker » Sat May 05, 2012 12:45

Taffy wrote:Couple of little issues for the search function. The first is "fuzzy" searching. At the moment, if you search for "mcdonalds" in the directory you'll get no results; you have to search for "mcdonald's" (with the apostrophe) in order to see the relevant entries. Also if someone slightly misspells an entry, they won't get any results (for example, searching for "bobundaye" won't bring up the entry you want, only "bobwundaye" will). Any chance of adding something like the Google "did you mean Bobwundaye?" feature?

The second one is a little odd. I have 1Password installed on my Mac, and integrated into Safari. Using the search function on Taiwanease triggers a 1Password dialogue box asking if I want to save this login. This is not something that happens with searches on other sites. :idunno:



Alright, so this morning I added a bit more intelligence to our searches. It isn't perfect by any means, but a few hacks and I got something okay working.

1) If you mispell something by 1 letter, such as bobundaye, Bobwundaye will still pop up.
2) If you search for Oyesters, anything with Oyester will show up. This one is a bit spotty. It must be at least 4 characters long to proc this function to avoid popping up thousands of results.
-Beak
You have no idea where I've been... unless you're stalking me... in which case, can you tell me where I was last week?
User avatar
Beaker
Tech
 
Posts: 511
Joined: Wed Aug 31, 2011 10:03
Has given kudos: 50 times
Has gotten kudos: 81 times

Re: The Search Function

Postby Taffy » Sat May 05, 2012 14:09

Beaker wrote:Alright, so this morning I added a bit more intelligence to our searches. It isn't perfect by any means, but a few hacks and I got something okay working.

Excellent! Thanks a lot.
User avatar
Taffy
Card-Carrying Taiwaneasian
 
Posts: 703
Joined: Tue Aug 30, 2011 09:23
Location: Zhonghe, Xinbei
Has given kudos: 110 times
Has gotten kudos: 103 times

Re: The Search Function

Postby elektronisk » Sat May 05, 2012 15:04

Beaker wrote:2) If you search for Oyesters, anything with Oyester will show up. This one is a bit spotty. It must be at least 4 characters long to proc this function to avoid popping up thousands of results.


Yes, but you have to use the correct spelling of "oysters" to get the correct results. If you search for "oyesters" only the misspelled postings show up. Ideally, if someone types in the incorrect "oyesters" then the results would come back with the posts with the correct "oysters" in it. No?

It isn't the same hack for entering "bivalve molluscs" and getting oyster results. :lol:

Just giving you a happy Saturday afternoon greeting Beaker. :wink:
All flesh is weak, some words are eternal.

Fight the horde, sing and cry, Valhalla, I am coming!

May all beings be released from suffering. May I become a Buddha for the benefit of all.
elektronisk
Keep Calm & Carry On
 
Posts: 220
Joined: Wed Aug 31, 2011 14:17
Has given kudos: 4 times
Has gotten kudos: 19 times

Re: The Search Function

Postby Beaker » Sat May 05, 2012 16:15

I generally only concern myself with 1s and 0s.
-Beak
You have no idea where I've been... unless you're stalking me... in which case, can you tell me where I was last week?
User avatar
Beaker
Tech
 
Posts: 511
Joined: Wed Aug 31, 2011 10:03
Has given kudos: 50 times
Has gotten kudos: 81 times


Return to Tech Issues