If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Search for an incomplete word

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-26-10, 18:17
mynameishenning mynameishenning is offline
Registered User
 
Join Date: Feb 2010
Posts: 6
Search for an incomplete word

Hey,
I hope this question is not to general but I already googled it and I tried to find an answer in this forum:

I would like to have a search function on my site to find news articles. I want to use MySQL's MATCH AGAINST function because it seems to be the most advanced way to do that (pls correct me if i'm wrong here). Right now the user can type in a word and the page shows all articles that contain EXACTLY that word.

What I actually want to achieve is that the user is able to type in an incomplete word like for example "wiki" and MySQL does not only return articles that contain the word "wiki" but also articles that contain for example "wikipedia". (It's a German page and a feature of the German language is that you're able to construct composite words - this is why it is so important)

I would be glad for any help or links regarding this!!
Thanks a lot in advance!!
Reply With Quote
  #2 (permalink)  
Old 02-26-10, 20:49
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,084
Quote:
Originally Posted by mynameishenning View Post
I want to use MySQL's MATCH AGAINST function because it seems to be the most advanced way to do that (pls correct me if i'm wrong here).
that's probably what you want, why don't you try it

__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
Reply

Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On