Integrating Zoom in your own applications |
![]() ![]() ![]() |
Software developers looking to include a search engine feature as part of their own applications can integrate Zoom Indexer into their software and provide dynamic indexing and searching on demand.
Console mode (Enterprise Edition only) The Enterprise Edition of Zoom allows the Indexer to run in "console mode". When Zoom is running in this mode, it will not display a GUI nor require any user interaction. With the use of pre-configured .ZCFG files, the Zoom Indexer can then be spawned as a process to index files as needed. All indexing progress, and error messages will be written to “stdout” and you can capture the output for internal analysis, or display to the user as you wish. The Indexer will also return an exit code indicating the outcome of the indexing. Console mode must be specified alongside an AutoRun option, and a configuration filename. The following example will run the Indexer in console mode, indexing offline, using the configuration settings defined in "zoom.zcfg": ZoomIndexer.exe -c -o zoom.zcfg
Redirecting stdout This can be done programatically (by the software spawning this process) or via the command line with the use of the greater than sign (">"). eg. redirecting stdout to file: ZoomIndexer.exe -c -o zoom.zcfg > output.txt Exit codes The Indexer will also return an exit code indicating the outcome of the indexing. The possible exit codes are:
|