If you want to use the CAS Server Command-line Utility, you
configure a crawl by creating a crawl configuration file and passing the file
as an argument (-f) to the
createCrawls task of the utility.
For new crawls, the CAS Server writes crawl output to a Record Store instance by default. This topic describes how to create a new crawl to write crawl output to any of the CAS output formats including:
To create a crawl:
Manually create an XML crawl configuration file. The configuration settings in the file vary depending on the output formats you want. See the following samples:
Sample configuration for writing output to a Record Store instance
Sample configuration for writing output to an MDEX compatible format
Start a command prompt, navigate to
, and locate the CAS Server Command-line utility (<install path>\CAS\<version>\bincas-cmd).Run the
createCrawlstask of thecas-cmdand specify the-foption with an argument that specifies a path to the crawl configuration file you created.For example, in a default CAS installation on Windows, this command creates a new crawl configured by the file
crawlConfig.xml.C:\Endeca\CAS\<version>\bin>cas-cmd createCrawls -f C:\tmp\crawlConfig.xml

