Mailinglisten-Archive |
Hi,
nach den zahlreichen Zuschriften (alle in Urlaub, oder was),
habe ich mir die Datensaetze in eine Textdatei kopiert.
Das ist dabei herausgekommen:
Nr. - Treffer - Qote - Query1 - Query2 -
------------------------------------------
1. - 1 - 2.87 - gef. - gef. -
2. - 1 - 3.29 - gef. - gef. -
3. - 1 - 3.38 - gef. - gef. -
4. - 2 - 1.67 - gef. - gef. -
5. - 1 - 2.09 - gef. - gef. -
6. - 2 - 6.06 - gef. - gef. -
7. - 1 - 0.93 - gef. - gef. -
8. - 1 - 1.46 - gef. - gef. -
9. - 1* - 0.00 - gef. - NO -
10. - 2 - 2.37 - gef. - gef. -
11. - 1* - 0.00 - gef. - NO -
------------------------------------------
1* bedeuted, dass der Suchbegriff Teil eines Wortes war.
Fazit:
- die Trefferquote kommt aus einem Zufallsgenerator... :-(
- FULLTEXT ist zwar schnell, aber kann keine Teilworte... :-(
Waere super,
wenn sich einer der Experten dazu aeussert... hallo Guido...
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