MySQL Forums
Forum List  »  Full-Text Search

Fulltext in boolean mode accent case sensitive quotes
Posted by: Amir Habibi
Date: February 14, 2007 06:12AM

Hi there !

I've got a strange behaviour using the FULLTEXT IN BOOLEAN MODE.

In my table (utf8_general_ci) I've got a simple row "MUSÉE" (Upper case with an accent).

When I make :

SELECT * FROM table WHERE MATCH (col) AGAINST ('MUSÉE' IN BOOLEAN MODE)
I get 1 row. It's OK.

SELECT * FROM table WHERE MATCH (col) AGAINST ('musée' IN BOOLEAN MODE)
I get 1 row. It's also OK.

But when I use double quotes :

SELECT * FROM table WHERE MATCH (col) AGAINST ('"MUSÉE"' IN BOOLEAN MODE)
I get 1 row. It's OK.

SELECT * FROM table WHERE MATCH (col) AGAINST ('"musée"' IN BOOLEAN MODE)
I get nothing. Strange.

SELECT * FROM table WHERE MATCH (col) AGAINST ('"musÉe"' IN BOOLEAN MODE)
I get 1 row. It's a bit complicated.

SELECT * FROM table WHERE MATCH (col) AGAINST ('"MUSéE"' IN BOOLEAN MODE)
I get nothing.

It's seems that when I use the double quotes, accents are becoming CASE SENSITIVE and the others characters NOT.

Is it normal ? Is there a way to use quotes and be accent-case insensitive ?

Thanks a lot.

--
Amir

Options: Reply• Quote


Subject
Views
Written By
Posted
Fulltext in boolean mode accent case sensitive quotes
7999
February 14, 2007 06:12AM


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.