Hi,
CREATE TABLE test (
inhalt text NOT NULL,
FULLTEXT KEY inhalt (inhalt)
) TYPE=MyISAM;
INSERT INTO test VALUES ('Hier was ganz extremes! beyond good & evil!');
SELECT * FROM
test
WHERE MATCH (inhalt) AGAINST ('beyond');
-> 0 Rows!!!
So... und jetz erklärt mir das bitte mal jemand ;)
Füllwörter werden vermutlich nicht in den Fulltext-Index aufgenommen.
Wenn Du einen weiteren Eintrag machst a la "I and you or we, the best"
wirst Du weder mit "and" noch mit "you" noch mit "or" noch mit "the" einen Treffer erzielen.
Und dieser Satz aus dem Manual
The new FULLTEXT search properties of MySQL Server 4.0 enable the use of FULLTEXT indexing of large text masses with both binary and natural-language searching logic. Users can customise minimal word length and define their own stop word lists in any human language, enabling a new set of applications to be built on MySQL Server.
belegt die Existenz einer solchen Wortliste.
cu,
Andreas
Der Optimist: Das Glas ist halbvoll. - Der Pessimist: Das Glas ist halbleer. - Der Ingenieur: Das Glas ist doppelt so groß wie nötig.
http://mud-guard.de/? http://www.andreas-waechter.de/ http://www.helpers.de/