Mailinglisten-Archive |
Hallo,
So noch ein letztes Posting von mir mit den erlebten Merkwuerdigkeiten.
(Auf Versionen MySQL 4.1.0-alpha-max-debug und 4.0.21-max)
Ist jemandem dazu etwas bekannt?
gruesse, Ilja
----------------------
CREATE TABLE `tabelle` (
`id` int(10) unsigned NOT NULL auto_increment,
`Text` text NOT NULL,
PRIMARY KEY (`id`),
FULLTEXT KEY `Text` (`Text`)
) TYPE=MyISAM CHARSET=latin1 AUTO_INCREMENT=1 ;
INSERT INTO `tabelle` VALUES (null, 'Suchwort');
SELECT * FROM tabelle WHERE MATCH(`Text`) AGAINST ('Suchwort');
Empty set (0.00 sec)
INSERT INTO `tabelle` VALUES (null, 'Suchwort');
SELECT * FROM tabelle WHERE MATCH(`Text`) AGAINST ('Suchwort');
Empty set (0.00 sec)
INSERT INTO `tabelle` VALUES (null, 'Suchwort2');
SELECT * FROM tabelle WHERE MATCH(`Text`) AGAINST ('Suchwort');
Empty set (0.00 sec)
INSERT INTO `tabelle` VALUES (null, 'Suchwort2');
SELECT * FROM tabelle WHERE MATCH(`Text`) AGAINST ('Suchwort');
Empty set (0.00 sec)
INSERT INTO `tabelle` VALUES (null, 'Suchwort3');
SELECT * FROM tabelle WHERE MATCH(`Text`) AGAINST ('Suchwort');
+----+----------+
| id | Text |
+----+----------+
| 1 | Suchwort |
| 2 | Suchwort |
+----+----------+
2 rows in set (0.01 sec)
Berthold Kolodziej wrote:
>Hallo,
>
>ist der gesuchte Text in BEIDEN Tabellen vorhanden?
>
>
>
>
>--
>Mit freundlichen Grüßen
>eMail : bk at alfred-reinecke.de
>
>-----Ursprüngliche Nachricht-----
>Von: Ilja Bekowies [mailto:ibekowies at shavingkiwis.de]
>Gesendet: Mittwoch, 26. Januar 2005 13:09
>An: mysql-de at lists.4t2.com
>Betreff: Mysql Fulltext Query
>
>
>Hallo!
>
>Ich habe zwei tabellen. Beide haben ein Textfeld (Text) mit einem
>FullText Index drauf. Beide sind MyISAM Tables. Beide haben einen
>Eintrag wobei in dem Textfeld der gleiche Text vorkommt.
>
>Ich mache einen Query auf Tabelle 1:
>SELECT id FROM table1 WHERE MATCH(`Text`) AGAINST ('home')
>
>und auf Table 2:
>SELECT id FROM table2 WHERE MATCH(`Text`) AGAINST ('home')
>
>Der erste liefert mir eine Ergebniszeile.
>Der zweite nicht.
>
>Ich kann es mir wirklich nicht erklaeren.
>Offensichtlich ist der Fehler jedenfalls nicht.
>
>Hat jemand soetwas auch schon einmal erlebt?
>
>Gruesse, Ilja Bekowies
>
>--
>Infos zur Mailingliste, zur Teilnahme und zum An- und Abmelden unter
>-->> http://www.4t2.com/mysql
>
>
>--
>No virus found in this incoming message.
>Checked by AVG Anti-Virus.
>Version: 7.0.300 / Virus Database: 265.7.4 - Release Date: 25.01.2005
>
>--
>No virus found in this outgoing message.
>Checked by AVG Anti-Virus.
>Version: 7.0.300 / Virus Database: 265.7.4 - Release Date: 25.01.2005
>
>
>
>
--
Infos zur Mailingliste, zur Teilnahme und zum An- und Abmelden unter
-->> http://www.4t2.com/mysql
php::bar PHP Wiki - Listenarchive