The
getAllCrawls
task retrieves all crawl configurations.
The syntax for this task is:
cas-cmd getAllCrawls [-f FileName.xml] [-h HostName] [-p PortNumber] [-d] [-l true|false]
Where:
-f
(or--file_name
) specifies the name of the XML file to write the configuration to. If omitted, the crawl configuration is sent to standard output. Optional.-h
(or--host
) specifies the host where the CAS Service is running. If the flag is omitted, the default is the value of thecom.endeca.itl.cas.server.host
property incommandline.properties
. If the property is not set, the value then defaults tolocalhost
. Optional.-p
(or--port
) specifies the port of the CAS Service. If the flag is omitted, the default is the value of thecom.endeca.itl.cas.server.port
property incommandline.properties
. If the property is not set, the value then defaults to8500
. Optional.-d
(or--fill_in_defaults
) specifies whether to populate the configuration file with the default values for unspecified properties. Optional.-l
(or--isPortSsl
) specifies whether to communicate with the service using an HTTPS connection. A value oftrue
uses HTTPS and treats thecom.endeca.itl.cas.server.port
property as an SSL port. A value offalse
uses HTTP and treatscom.endeca.itl.cas.server.port
as a non-SSL port. Specifyfalse
if you enabled redirects from a non-SSL port to an SSL port. Optional.
Crawls are retrieved without password values if there are any
configuration properties marked as
isPassword
.
To get all crawls:
Start a command prompt and navigate to
<install path>
\CAS\<version>\bin<install path>
/CAS/<version>/binType
cas-cmd.bat
(for Windows), orcas-cmd.sh
(for UNIX) and specify thegetAllCrawls
task, optionally with the-f
(or--file
) flag and the name of the XML file to write the crawl configuration(s) to.Note
This task name is case sensitive.