Re: Can I index pages on demand?

Neal Richter <[email protected]> Thu, 28 Oct 2004 22:16:55 -0600 (MDT)
Newsgroups gmane.comp.web.htdig.devel
Message-ID <[email protected]>
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


-------------------------------------------------------
This Newsletter Sponsored by: Macrovision 
For reliable Linux application installations, use the industry's leading
setup authoring tool, InstallShield X. Learn more and evaluate 
today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
_______________________________________________
ht://Dig Developer mailing list:
[email protected]
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-dev