Can't find FULLTEXT index matching the column list – SELFHTML-Forum Forum als Ergänzung zum SELFHTML-Wiki und zur Dokumentation SELFHTML https://forum.selfhtml.org/self Can't find FULLTEXT index matching the column list Mon, 22 Jul 02 07:39:36 Z https://forum.selfhtml.org/self/2002/jul/22/can-t-find-fulltext-index-matching-the-column-list/248122#m248122 https://forum.selfhtml.org/self/2002/jul/22/can-t-find-fulltext-index-matching-the-column-list/248122#m248122 <p>Hallo!</p> <p>Ich habe gerade in meiner MySQL-DB einen Fulltext-Index erzeugt (create fulltext ...)<br> danahc habe ich dasselbe gür eine 2. Spalte in derselbelm tablee gemacht.</p> <p>Nun habe ich das ganze getestet:</p> <p>Select * from tabelle1 where match (index1) against 'testwort'</p> <p>klappt wunderbar<br> ...also weiter</p> <p>select * from tabelle1 where match (index2) against 'testwort'</p> <p>klappt auch<br> ...also weiter</p> <p>select * from tabelle1 where match (index1, index2) against 'testwort'</p> <p>und nun gibt's folgendes zu lesen:<br> "Can't find FULLTEXT index matching the column list"</p> <p>Die Indexe sind alle vom Typ FULLTEXT ! Schreibfehler sind auch keine im Statement....</p> <p>...woran liegt das nun ???</p> <p>MySQL v. 3.23.44</p> <p>vielen Dank im Vorraus</p> <p>Flo</p> Can't find FULLTEXT index matching the column list Mon, 22 Jul 02 09:36:17 Z https://forum.selfhtml.org/self/2002/jul/22/can-t-find-fulltext-index-matching-the-column-list/248123#m248123 https://forum.selfhtml.org/self/2002/jul/22/can-t-find-fulltext-index-matching-the-column-list/248123#m248123 <p>Hi,</p> <blockquote> <p>"Can't find FULLTEXT index matching the column list"<br> Die Indexe sind alle vom Typ FULLTEXT !</p> </blockquote> <p>beachte: MySQL spricht von "Index", Du von "Indexen". Der Unterschied zwischen Singular und Plural ist nicht zufällig: Es existiert kein Fulltext-Index über Spalte 1 _und_ Spalte 2.</p> <p>Cheatah</p> Can't find FULLTEXT index matching the column list Mon, 22 Jul 02 10:29:44 Z https://forum.selfhtml.org/self/2002/jul/22/can-t-find-fulltext-index-matching-the-column-list/248124#m248124 https://forum.selfhtml.org/self/2002/jul/22/can-t-find-fulltext-index-matching-the-column-list/248124#m248124 <blockquote> <p>Hi,</p> </blockquote> <p>Hi</p> <blockquote> <blockquote> <p>"Can't find FULLTEXT index matching the column list"<br> Die Indexe sind alle vom Typ FULLTEXT !</p> </blockquote> </blockquote> <blockquote> <p>beachte: MySQL spricht von "Index", Du von "Indexen". Der Unterschied zwischen Singular und Plural ist nicht zufällig: Es existiert kein Fulltext-Index über Spalte 1 _und_ Spalte 2.</p> </blockquote> <p>Jo das klingt ja klug, aber ist doch eigentlich egal wie ichs mache.<br> Ich kann einen Fulltext index über Spalte "hugo" und einen über Spalte "egon" erzeugen (wie im ersten posting beschrieben).</p> <p>Ich kann auch  einen FULLTEXT-Index index_a über die Spalten "hugo" und "egon" erzeugen.</p> <p>( ALTER TABLE tabelle ADD FULLTEXT index_a (hugo, egon); )</p> <p>Dann kann ich:<br> match (hugo) against 'testwort'<br> und:<br> match (egon) against 'testwort'<br> aber net:<br> match (hugo, egon) against 'testwort'<br> weil dann fehlermeldung<br> die kommt auch bei<br> match (index_a) against 'testwort'</p> <p>ich hoffe das ist jetzt ein wenig eindeutiger</p> <p>Gruß<br> Flo</p> Can't find FULLTEXT index matching the column list Mon, 22 Jul 02 12:18:39 Z https://forum.selfhtml.org/self/2002/jul/22/can-t-find-fulltext-index-matching-the-column-list/248125#m248125 https://forum.selfhtml.org/self/2002/jul/22/can-t-find-fulltext-index-matching-the-column-list/248125#m248125 <p>Hi,</p> <blockquote> <blockquote> <p>beachte: MySQL spricht von "Index", Du von "Indexen". Der Unterschied zwischen Singular und Plural ist nicht zufällig: Es existiert kein Fulltext-Index über Spalte 1 _und_ Spalte 2.</p> </blockquote> </blockquote> <blockquote> <p>Jo das klingt ja klug, aber ist doch eigentlich egal wie ichs mache.</p> </blockquote> <p>nein, ist es nicht. Die Datenbank benutzt immer nur _einen_ Index gleichzeitig, Du forderst hier _mehrere_. Das kann nicht funktionieren.</p> <blockquote> <p>( ALTER TABLE tabelle ADD FULLTEXT index_a (hugo, egon); )<br> match (hugo, egon) against 'testwort'</p> </blockquote> <p>Laut <a href="http://www.mysql.com/documentation/mysql/bychapter/manual_Reference.html#Fulltext_Search" rel="nofollow noopener noreferrer">http://www.mysql.com/documentation/mysql/bychapter/manual_Reference.html#Fulltext_Search</a> ist das gültig; wobei ich nicht weiß, ob die Klammern bei der AGAINST-Klausel optional sind. Vielleicht verwirrt es die DB, wenn Du drei Indizes hast; zwei über die einzelnen Spalten und einen über beide Spalten.</p> <p>Cheatah</p>