Re: Search character "&" !?
Posted by:
Sean Fang
Date: August 30, 2006 10:33AM
Hi,
Same here:
I have a table and have built a FULLTEXT index on column c1.
When I select * from table where c1 like '% m&a %', it returns 5 rows
but when I select * from table where MATCH(c1) AGAINST ('m&a') it returns 0. It doesn't mattern if I put it in the boolean mode or not. The problem seems to be the special character &
I'm sure m&a is a pretty common word and mySQL is supposed to be able to handle it easily. I just don't have the know-how information. Can someone please share some knoweldge with me?
I'm running mySQL 4.0.27 and ft_min_word_len is set to 2.
Many thanks,
Sean
Subject
Views
Written By
Posted
7754
July 27, 2006 10:02PM
Re: Search character "&" !?
3811
August 30, 2006 10:33AM
3345
August 30, 2006 03:37PM
3290
August 31, 2006 05:01PM
3368
September 01, 2006 01:53AM
3167
July 09, 2007 04:00AM
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.