Command Line Tools
Document Indexer
In order to run document indexing from the command line you have to use
CreateIndex tool located in
INSTALL_DIR/bin directory. For the list of all available options just type:
CreateIndex
To index documents using settings from index profile, type:
CreateIndex -p path/to/myIndexProfile.qip -i path/to/index/
where option
–p specifies the index profile and
–i path to directory where index is located.
By default, incremental indexing is turned on which means that only modifications will be indexed (modified/new/removed documents). Option
-c turns off incremental indexing (index database will be built from the scratch.)
Index Deployment
In order to use index database in QuestAgent search applets you have to export (deploy) index to the format recognized by search applets. To run index export from the command line use
IndexDeployer tool located in the
INSTALL_DIR/bin directory. For the list of all available options type:
IndexDeployer
Simple export using default settings:
IndexDeployer -i inputIndexDir -o outputIndexDir
where option
-i specifies input index directory and
-o target directory.
In contrast to previous versions of QuestAgent, use of exported index from a web site is allowed by default. In order to disallow use from web sites use
-web option.
Note: If you purchased commercial license that does not allow unlimited search applet and index distribution, use of deployed index is limited to a single web server in which case you need to use option
-server to specify full name of your web server (e.g.
-server www.mydomain.com).