Command-line parameters

JavaScript SiteSearch Generator can be executed from the command line. In this topic, you can find the syntax of the command-line parameters and the brief description of them.


Command-line execution syntax:

jsSiteSearch.exe project-filename.jsg [/B]


Parameter description:

project-filename
Name of the project file (jsg) including full path.
/B
Generate the search index data file from the passed project.
When you use the /B switch, the new instance of an application is created, project is opened and generated, and then the application is closed.

Example:

jsSiteSearch.exe "c:\samples\my test.jsg" /B

This generates an index for the "my test.jsg" project and closes itself.


Exit codes:

Application will return an exit code of 0 if the generating (build) was successful, 1 if the generating error is indicated or an internal error occurred