manual search function
| From: | Christian Weiske | Date: | Fri, 13 Aug 2004 07:27:08 +0000 |
| Subject: | manual search function | ||
| Groups: | php.gtk.webmaster | ||
| Request: | Send a blank email to php-gtk-webmaster+get-2575@lists.php.net to get a copy of this message | ||
Hi
You all know I've volunteered to rebuild the manual search function.
Currently it's a total mess; I don't think anyone did really understand what's going on there....
I thought of the following for the rewrite of the search function:
Every night, after the manual has been rebuilt, two index files are created:
- One with the keywords, which would be the class names, function names and *split* function names (get_cursor_name -> three keywords: get, cursor and name). Every keyword would be on one line.
- The second file would contain the files to which the keyword references, which could be more than one. The files have to be on the same line the keyword were in the first file which makes it easy to get the connection between keyword and files.
This would be 2 files which can be loaded quickly into an array (and searched with standard array functions), and the whole manual directory wouldn't have to be searched everytime.
Someone against this approach?
Regards/MfG,
Christian Weiske
--
XMMS is playing now:
Dido - Take My Hand (long version)
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc