This is not easy. Fortunately, the client had ColdFusion installed (I much prefer ASP, but in this case, the verity collection engine that comes with coldfusion makes ColdFusion attractive). One would point to a directory and create a 'collection' of documents winin that directory/subdirectories that can be searched, with a rating of that search applied to each document. Very powerful. One could also aquire the verity search engine seperately (http://www.verity.com/products/devokit/index.html) and using the APIs provided, write a plug-in in another language. The verity engine is, however, not cheap - but then again, it does alot.
Hope this helps somewhat.
Good luck