Programmatically Configuring Light Crawler Mode

As discussed in Programmatically Enabling Crawl Options, the configuration and status information for a Watson Explorer Engine search collection is stored as a vse-collection element whose vse-config node contains configuration information about each component of the collection. The crawler's configuration options, including those for Light Crawler mode, are contained and set within the vse-config node's crawler node.

If you have an existing search collection that you want to convert to using the Light Crawler, or if you are creating a search collection manually and want to force it to use Light Crawler mode, you will need to add the following XML node to the crawler node:

<call-function name="vse-crawler-light-crawler" />
Note: Adding this node programmatically to cause a search collection to use Light Crawler mode is an alternative to the techniques described in the previous section, Configuring Light Crawler Mode in the Watson Explorer Engine Administration Tool. The approaches discussed in that section and in this one are functionally equivalent and therefore mutually exclusive. You should not do both.