MySQL Forums
Forum List  »  Full-Text Search

Re: Full-Text search in InnoDB tables for search engine
Posted by: Tony McCreath
Date: July 28, 2005 08:29PM

I was thinking the same thing.

I've already created a `searchwords` field in my table to solve some other issues, so moving into anther table and doing a join would not be much work.

I was thinking of having a single searchable table rather than one per table. Its simpler and I can search all my tables in one go. The searchable table would need some sort of index to indicate the table it relates to.

You might think having to keep the searchable table up-to-date is a bit of a pain, but I found doing this special copy of the searchwords has given me quite a few advatages:

1) The full-text index is on a single field, not across many fields - faster and easier to maintain
2) In meta data I can define the fields that get included in searchwords. This includes getting
words from joined rows.
3) I can manipulate the included words, such as fixing issues with special characters.

If you want InnoDB for transactions (like I do) you would have to consider what happens on transaction failures, as the searchable table will not rollback.


Tony

Options: Reply• Quote


Subject
Views
Written By
Posted
Re: Full-Text search in InnoDB tables for search engine
16917
July 28, 2005 08:29PM


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.