The following example uses the
getAllCrawls
task to retrieve all crawl configurations.
C:\Endeca\CAS\<version\bin>cas-cmd getAllCrawls <?xml version="1.0" encoding="UTF-8"?> <configurations xmlns="http://endeca.com/itl/cas/2011-12"> <crawlConfig> <crawlId> <id>FileCrawl</id> </crawlId> <unavailableIncrementalSwitchesToFullCrawl>true</unavailableIncrementalSwitchesToFullCrawl> <sourceConfig> <moduleId> <id>File System</id> </moduleId> <moduleProperties> <moduleProperty> <key>expandArchives</key> <value>false</value> </moduleProperty> <moduleProperty> <key>gatherNativeFileProperties</key> <value>true</value> </moduleProperty> <moduleProperty> <key>seeds</key> <value>C:\tmp\itldocset</value> <value>C:\tmp\iapdocset</value> </moduleProperty> </moduleProperties> <excludeFilters/> <includeFilters/> </sourceConfig> <textExtractionConfig> <enabled>true</enabled> <makeLocalCopy>false</makeLocalCopy> </textExtractionConfig> <manipulatorConfigs/> <outputConfig> <moduleId> <id>Record Store</id> </moduleId> <moduleProperties/> </outputConfig> </crawlConfig> <crawlConfig> <crawlId> <id>SecondFileCrawl</id> </crawlId> <sourceConfig> <moduleId> <id>File System</id> </moduleId> <moduleProperties> <moduleProperty> <key>expandArchives</key> <value>false</value> </moduleProperty> <moduleProperty> <key>gatherNativeFileProperties</key> <value>true</value> </moduleProperty> <moduleProperty> <key>seeds</key> <value>C:\tmp\mdexdocset</value> </moduleProperty> </moduleProperties> <excludeFilters/> <includeFilters/> </sourceConfig> <textExtractionConfig> <enabled>true</enabled> <makeLocalCopy>false</makeLocalCopy> </textExtractionConfig> </manipulatorConfigs> <outputConfig> <moduleId> <id>Record Store</id> </moduleId> <moduleProperties/> </outputConfig> </crawlConfig> </configurations>