Mailinglisten-Archive |
Hi, habe mir das PHP-Manual in eine Tabelle gepackt, um darin recherchieren zu koennen... Das klappt ja auch soweit, NUR: - warum fehlen im zweiten Statement zwei Dateien ? (die Zeitersparnis ist ja beachtlich) - wie wird eigentlich die 'Trefferquote' berechnet ? (gefunden ist IMHO gefunden, oder...) m.b.G. Norbert ______________________ normal: 02292-681769 notfall: 0177-2363368 ---------------------- Anhang: ------- mysql>SELECT php_id, file FROM php WHERE >text LIKE '%download%' ORDER BY file; +--------+--------------------------+ | php_id | file | +--------+--------------------------+ | 407 | function.ftp-fget.html | | 409 | function.ftp-get.html | | 574 | function.hw-gettext.html | | 1870 | installation.html | | 1930 | pear.standards.html | | 1963 | ref.ftp.html | | 1966 | ref.gmp.html | | 1982 | ref.mcrypt.html | | 1983 | ref.mhash.html | | 1984 | ref.ming.html | | 2001 | ref.pfpro.html | +--------+--------------------------+ 11 rows in set (0.44 sec) mysql>SELECT php_id, file, MATCH(text) AGAINST('download') AS x >FROM php WHERE (MATCH(text) AGAINST('download')) > 0 >ORDER BY x DESC; +--------+--------------------------+------------------+ | php_id | file | x | +--------+--------------------------+------------------+ | 1870 | installation.html | 6.0556219462444 | | 409 | function.ftp-get.html | 3.3778643055072 | | 407 | function.ftp-fget.html | 3.2924156472845 | | 1963 | ref.ftp.html | 2.8734342862626 | | 1930 | pear.standards.html | 2.3689931214565 | | 574 | function.hw-gettext.html | 2.0853106382432 | | 1966 | ref.gmp.html | 1.6663806437218 | | 1984 | ref.ming.html | 1.4584726329347 | | 1982 | ref.mcrypt.html | 0.93482693889008 | +--------+--------------------------+------------------+ 9 rows in set (0.00 sec) ------ e.o.m. --- !!NEU!! Fragen und Antworten zu MySQL und dieser Liste unter -->> http://www.4t2.com/mysql
php::bar PHP Wiki - Listenarchive