MySQL Forums
Forum List  »  Full-Text Search

Re: full text query on lookup table
Posted by: Rick James
Date: August 12, 2010 07:46AM

A FULLTEXT search on "people" would find all three examples you gave.

MATCH (title) AGAINST ("many people")
would probably give you the same results, since 'many' is probably in the "stopword" list.

Not, also, the default ft_min_word_len is 4, meaning that "a lot of people" would be treated the same as "people".

FOREIGN KEYs do not apply with FULLTEXT indexes.

I think you are stuck with either FULLTEXT and its less-than-perfect qualities. Or you should plan on manually extracting "keywords" (people, cat, etc) and putting them in a `Tags` table.

Options: ReplyQuote


Subject
Views
Written By
Posted
6684
August 05, 2010 01:46AM
2341
August 07, 2010 12:09PM
2233
August 11, 2010 01:52AM
2086
August 11, 2010 01:56AM
Re: full text query on lookup table
2397
August 12, 2010 07:46AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.