Mailing List Archive

Static HTML tree: search function?
I was thinking about creating a static HTML tree from the database
dump. The only thing I can't figure out is how to provide a decent
search function. Are there any ready-made solutions for this problem?

The possibilities I see are

* ship a minimal web server, and use some sort of htdig cgi search script.
* hack together some javascript code which doesn't need a server.
(Something like this exists already at
http://www.javascript.freeuk.com/oldindex.html, but they recommend
it only for "up to 50 pages")
* Use some format other than HTML which provides search capabilities,
such as MS help files or pdf.

I don't like either option.

Axel
Re: Static HTML tree: search function? [ In reply to ]
On Tue, Aug 13, 2002 at 10:43:37PM +0200, Axel Boldt wrote:
> I was thinking about creating a static HTML tree from the database
> dump. The only thing I can't figure out is how to provide a decent
> search function. Are there any ready-made solutions for this problem?
>
> The possibilities I see are
>
> * ship a minimal web server, and use some sort of htdig cgi search script.
> * hack together some javascript code which doesn't need a server.
> (Something like this exists already at
> http://www.javascript.freeuk.com/oldindex.html, but they recommend
> it only for "up to 50 pages")
> * Use some format other than HTML which provides search capabilities,
> such as MS help files or pdf.
>
> I don't like either option.

There is a Java-Module (or component or whatever java-people call it)
named Lucene. It provides a general indexing and search engine. It is
normaly used server-side, but it should be possible to make a small
java applet loading the index from CDROM.


Regards,

JeLuF