|
Author |
Message |
AcIdBuRnZ |
This post is not being displayed .
|
AcIdBuRnZ World Chat Champion
Joined: 28 Jul 2003 Karma :
|
Posted: 20:14 - 23 Mar 2006 Post subject: More SQL..... |
|
|
Ok,
Now I have my query problems resolved, here's another one for you lot.....
How can you perform 'fuzzy' searches?
What I am really looking for is something like this:
If you search for jumper, it will return all records containing words like jumpers, jumping, jump etc
Just so when people search they get more results back, rather than exactly what they typed in.
As you can tell my SQL is a little rusty (and pretty basic) so just need a little guidance here.
Thanks ____________________ Past: Honda NSR125R >> Kawasaki ER-5a2 >> Kawasaki ZZR-600e1 >> Suzuki GSXR-750Y >> Honda VTR 1000 Firestorm
"Chickity China the Chinese Chicken..." |
|
Back to top |
|
You must be logged in to rate posts |
|
|
BigChris |
This post is not being displayed .
|
BigChris Spanner Monkey
Joined: 25 May 2005 Karma :
|
|
Back to top |
|
You must be logged in to rate posts |
|
|
Kickstart |
This post is not being displayed .
|
Kickstart The Oracle
Joined: 04 Feb 2002 Karma :
|
|
Back to top |
|
You must be logged in to rate posts |
|
|
Suzuki |
This post is not being displayed .
|
Suzuki Roger
Joined: 03 May 2005 Karma :
|
Posted: 10:01 - 24 Mar 2006 Post subject: |
|
|
Wildcards wont allow you to search for "jumper" and find "jumping" though.
The answer to this is to have a 'fuzzy' table. ie, a row in the table which maps words onto similar search words.
So, 'jumper' would map to the collection of words, 'jumper', 'jump', 'jumping', etc.
Then you perform your search with all of the associated words.
If you're really clever, you'll get your fuzzy table to learn new words as people search for them. That's quite tough though. ____________________ <Simple> no I'm shaven Jon
<Simple> it is a big enough hole.. I'll leave it now
Ride: 1999 Suzuki GSXR600 (yellow/black) IRC: Stats - Relationship Map |
|
Back to top |
|
You must be logged in to rate posts |
|
|
AcIdBuRnZ |
This post is not being displayed .
|
AcIdBuRnZ World Chat Champion
Joined: 28 Jul 2003 Karma :
|
Posted: 12:59 - 24 Mar 2006 Post subject: |
|
|
Interesting.
Thanks for replies guys.
Will try using the wildcards. But, TBH, I think rather than allowing users to enter a search string, I'll just give drop down menus so they can select categories, and display results that way.
Much easier to code, and user can see exactly what wil be displayed
Cheers,
Mark ____________________ Past: Honda NSR125R >> Kawasaki ER-5a2 >> Kawasaki ZZR-600e1 >> Suzuki GSXR-750Y >> Honda VTR 1000 Firestorm
"Chickity China the Chinese Chicken..." |
|
Back to top |
|
You must be logged in to rate posts |
|
|
ali-b |
This post is not being displayed .
|
ali-b Trackday Trickster
Joined: 19 May 2005 Karma :
|
|
Back to top |
|
You must be logged in to rate posts |
|
|
Old Thread Alert!
The last post was made 18 years, 36 days ago. Instead of replying here, would creating a new thread be more useful? |
|
|
|