Carlos E. R. escribió:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
El 2006-10-04 a las 01:13 +0200, escribí:
EL htdig es lento indexando, pero la cuestión realmente importante, es la velocidad de búsqueda posterior, una vez generados los indices.
Lo he puesto a indexar mi máquina, y ha tardado más de tres horas - no de cpu, sino de espera al disco:
nimrodel:~ # time nice susehelpindex --verbose --force DOCUMENT: Creating index files... Execute: /opt/kde3/bin/khc_htdig.pl --indexdir /var/cache/susehelp --docpath /usr/share/doc/release-notes/SUSE_Linux/RELEASE-NOTES.en.html --identifier release-notes Execute: /opt/kde3/bin/khc_htdig.pl --indexdir /var/cache/susehelp --docpath /usr/share/doc/manual/suselinux-manual_en/manual/index.html --identifier apparmor-admin-guideen Execute: /opt/kde3/bin/khc_htdig.pl --indexdir /var/cache/susehelp --docpath /usr/share/doc/manual/suselinux-manual_en/manual/book.slprof.print.html --identifier startupen Execute: /opt/kde3/bin/khc_htdig.pl --indexdir /var/cache/susehelp --docpath /usr/share/doc/manual/suselinux-manual_en/manual/book.apparmor.admin.html --identifier apparmor-admin-guideen Execute: /opt/kde3/bin/khc_htdig.pl --indexdir /var/cache/susehelp --docpath /usr/share/doc/manual/suselinux-manual_en/manual/book.slprof.appl.html --identifier applicationen Execute: /opt/kde3/bin/khc_htdig.pl --indexdir /var/cache/susehelp --docpath /usr/share/doc/manual/suselinux-manual_en/manual/book.slprof.online.html --identifier referenceen Execute: /opt/kde3/bin/khc_docbookdig.pl --indexdir /var/cache/susehelp --docpath dummy --identifier kde_application_manuals Execute: /opt/kde3/bin/khc_htdig.pl --indexdir /var/cache/susehelp --docpath /usr/share/doc/Books/lkmpg-1.1.0-1.pdf --identifier books-lkmpg Execute: /opt/kde3/bin/khc_htdig.pl --indexdir /var/cache/susehelp --docpath /usr/share/doc/Books/lkmpg-1.1.0-2.pdf --identifier books-lkmpg2 Execute: /opt/kde3/bin/khc_htdig.pl --indexdir /var/cache/susehelp --docpath /usr/share/doc/KDE3-API/index.html --identifier kdelibs3 Execute: /opt/kde3/bin/khc_htdig.pl --indexdir /var/cache/susehelp --docpath /usr/share/doc/packages/qt3/html/index.html --identifier qt3
Created index for 11 documents.
real 201m42.313s user 61m44.956s sys 4m30.125s
Y son 220 megas de indices - aunque hay un par que son obsoletos, los generó una versión anterior y no se han borrado.
- -- Saludos Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76
iD8DBQFFKW+GtTMYHG2NR9URAqEQAKCJFRQs32BHWAeIcUp4iU9Na8ulEwCeNo49 EHrSkRTprdrD8SPQEE8vyGw= =ixxR -----END PGP SIGNATURE-----
creo recordar que los creadores de swish-e decía que su sistema de indexado erá bastante rápido y eficiente, entre otras cosas, porque estaba programado en C. Normalmente algo compilado siempre se ejecuta más rápido que algo interpretado (al menos, esa idea se me quedó de "mis años mozos" ;) cuando aprendía a programar...)