MySQL Forums
Forum List  »  MyISAM

MySQL MyISAM fulltext search - how to add ‘#’ as a word character for utf8 charset
Posted by: Sabyasachi Ruj
Date: August 13, 2010 08:19AM

I am using MyISAM full text search. The table columns are having charset "utf8" and "utf8_general_ci" as collation.

Now I want to implement #HashTag system, so that if I search for "#HashTag", only rows that contain "#HashTag" show up. Not rows that just contains "HashTag".

According to the MySQL documentation and in its comment (http://dev.mysql.com/doc/refman/5.0/en/fulltext-fine-tuning.html), its easy to do it for fixed-width charset encoding.

But I could not find a good reference for how to do it for utf8 charset. Has anyone done this for utf8 charset columns? If yes, could you list the exact steps?

Also, I want to avoid recompiling MySQL if possible.

Options: ReplyQuote


Subject
Views
Written By
Posted
MySQL MyISAM fulltext search - how to add ‘#’ as a word character for utf8 charset
3731
August 13, 2010 08:19AM


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.