Advanced Tuning - Configure the Crawler

The first start of the er-crawler-service-webapp creates the crawler configuration in the $CLOUD_CONNECTOR_INSTALL_DIR/$ARCH/er-crawler/config/er-crawler-service_config.json file.

Context: This .json file exposes the crawler internal parameters. The following parameters are the most important:

Parameter Description
nbDataLoaderThreads (number) Specifies the number of threads used to load data from the ENOVIA DB.
disabledSelectables (array of strings) Allows you to disable costly selectables globally (for all types). For example, history.
nbCrawlEndPointThreads (number) Specifies the number of threads used to push data during the initial crawl or the maintenance crawl.

Configuration example:

{
  "computeTenantStats" : true,
  "enable" : true,
  "enableOwnershipVectorsUpdaterService" : true,
  "incrementalCrawlIntervalInMilli" : 5000,
  "maxCompletedCrawlJobStatuses" : 1024,
  "maxEventsPerTransaction" : 512,
  "maxQueuedCrawlJobs" : 1024,
  "nbDataLoaderThreads" : 4,
  "nbCrawlEndPointThreads": 1,
  "nbParallelCrawlJobs" : 2,
  "disabledSelectables" : [ "history", "history.description", "history.event", "history.state", "history.time", "history.user" ]
}