Nuevo motor de búsqueda para el foro, basado en
Sphinx:
http://foro.elhacker.net/search.htmlLa verdad es que yo mismo dejé de utilizar el anterior buscador del foro, porque funcionaba mal y lento, pero ahora es bastante más rápido y preciso.
No está basado en el buscador de google, y aunque lógicamente no es tan rápido como el motor de búsqueda de Google, pues si tiene indexados todos los mensajes del foro (1.200.000 mensajes), con lo que es más fiable y efectivo.
Gracias a Nakp por la ayuda prestada para configurar el daemon.
Hacer una búsqueda con una tabla MySQL Fulltext (con más de 1.200.000 registros) es muy lento y por eso la idea de usar Sphinx.
Until now, SMF supported two types of indexes: fulltext (using MySQL's own indexing system) and custom (using an index created by SMF and stored on the database). Though for many forums one of these indexes is sufficient, the larger the forum gets, the harder it gets to query the indexes. Not only are there limits to what it can reasonably find within a second, a search query also puts pressure on the database by using resources and locking tables.
With this in mind, Andrew Aksyonoff started his own engine, outside of MySQL: Sphinx (
www.sphinxsearch.com). This engine runs as a separate deamon process and provides query results to applications like PHP. A scheduled task retrieves the data from the database and rebuilds the indexes. This engine is fulltext specialized and returns results often a thousand times faster than MySQL.
Referencias:
lmstfyoehttp://foro.elhacker.net/sugerencias_y_dudas_sobre_el_foro/lmstfyoe-t306199.0.html¿Qué le pasa al buscador del foro?http://foro.elhacker.net/sugerencias_y_dudas_sobre_el_foro/iquestque_le_pasa_al_buscador_del_foro-t299208.0.htmlVuelve el botón de buscarhttp://foro.elhacker.net/privado/vuelve_el_boton_de_buscar-t195009.0.htmlMejorar el buscador del forohttp://foro.elhacker.net/sugerencias_y_dudas_sobre_el_foro/mejorar_el_buscador_del_foro-t161373.0.html