Ticket #13078

tritonn-1.0.10にて2ind検索の結果がおかしくなる
Date d'ouverture: 2008-07-18 15:47 Dernière mise à jour: 2008-08-04 19:42

Rapporteur:
Propriétaire:
État:
Atteints
Composant:
(Aucun)
Jalon:
(Aucun)
Priorité:
9 - le plus élevé
Sévérité:
5 - moyen
Résolution:
Fixed
Fichier:
Aucun

Détails

mysql> show create table test\G
*************************** 1. row
***************************
Table: test
Create Table: CREATE TABLE `test` (
`id` int(11) NOT NULL,
`title` varchar(200) NOT NULL,
PRIMARY KEY (`id`),
FULLTEXT KEY `fkey1` (`title`)
) ENGINE=MyISAM DEFAULT CHARSET=ujis
1 row in set (0.00 sec)

mysql> set names utf8;
Query OK, 0 rows affected (0.00 sec)

mysql>
mysql> select * from test where match(title) against("
晴れ");
+----+-----------------------------------+
| id | title |
+----+-----------------------------------+
| 1 | 今日の天気は晴れです。 |
+----+-----------------------------------+
1 row in set (0.00 sec)

mysql> select * from test where match(title) against("雨");
+----+--------------------------------+
| id | title |
+----+--------------------------------+
| 2 | 明日の天気は雨です。 |
+----+--------------------------------+
1 row in set (0.00 sec)

mysql>
mysql> set senna_2ind=ON;
Query OK, 0 rows affected (0.00 sec)

mysql>
mysql> select * from test where match(title) against("
晴れ");
+----+-----------------------------------+
| id | title |
+----+-----------------------------------+
| 1 | 今日の天気は晴れです。 |
+----+-----------------------------------+
1 row in set (0.00 sec)

mysql> select * from test where match(title) against("雨");
+----+--------------------------------+
| id | title |
+----+--------------------------------+
| 2 | 明日の天気は雨です。 |
+----+--------------------------------+
1 row in set (0.01 sec)

Ticket History (1/1 Histories)

2008-08-04 19:42 Updated by: mir
  • Ticket Close date is changed to 2008-08-04 19:42
  • Résolution Update from Aucun to Fixed
  • État Update from Ouvert to Atteints
Commentaire
Logged In: YES
user_id=9916

レポジトリに修正パッチをcommitしました。(rev165)

tritonn-1.0.11にて対応予定です。

Attachment File List

No attachments

Modifier

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Connexion