How about freeWAIS ? It already comes with a HTML interface for searching, and all you have to do, is add a processor for inserted record, that should trigger a rebuild. That is free, and known to work well (at least one version of Linux used it to allow full text indexing of the entire system and manpages in HTML).