Mailinglisten-Archive |
> oder man benutzt halt die fulltext-funktionen der neueren mySQL-Versionen
>(siehe Punkt 6.8 der MySQL-Doku... ;-))
>--------schnipp-----------
>
>mysql> SELECT id, body, MATCH (title,body) AGAINST
> -> ('Security implications of running MySQL as root') AS score
> -> FROM articles WHERE MATCH (title,body) AGAINST
> -> ('Security implications of running MySQL as root');
>+----+-------------------------------------+-----------------+
>| id | body | score |
>+----+-------------------------------------+-----------------+
>| 4 | 1. Never run mysqld as root. 2. ... | 1.5055546709332 |
>| 6 | When configured properly, MySQL ... | 1.31140957288 |
>+----+-------------------------------------+-----------------+
>2 rows in set (0.00 sec)
>---------/schnipp-----------
Danke Jens das ist es was ich suchte.... Volltextsuche --> hätte ich auch
drauf kommen können.....
Gruß, Jan-Philip :-)
php::bar PHP Wiki - Listenarchive