From: Neal R. <ne...@ri...> - 2004-10-29 04:20:57
|
On Tue, 12 Oct 2004, Lahiri, Pallab (Cognizant) wrote: > > Hello, > I have few queries on htdig > 1. Is it possible to index pdf files in a directory from a web application. > My requirement is that user will upload pdf files using the Web App and in the very next step she/he should get to see that file in the search result if it > matches the search criteria . I want to call rundig programatically as and when required . Is it possible? This is possible if you hook a file-upload cgi program to fork a script to rerun the indexer. Or you can use the facilites provided in libhtdigphp & libhtdig > 2. Can htdig index multiple directories ? Sure > 3. Is there any API available for htdig the code directory libhtdig & libhtdigphp contain an API of sorts. AS of yet the PHP version doesn't include the necessary wrapper to call index/store commands via PHP. I could easily add these. > I would greatly appreciate some help on this. > Regards, > Pallab Thanks Neal Richter |