Configure the Batch Size and Time Interval

CFS indexes documents in batches. This is more efficient because fewer requests are made to the server.

Documents wait in the index queue until there are enough documents to create a batch, or until the maximum time interval for indexing is reached. If the time interval is reached, CFS indexes all of the documents in the queue regardless of the batch size.

To configure indexing settings

  1. Stop CFS.
  2. Open the CFS configuration file.
  3. In the [Indexing] section, set the following configuration parameters:

    IndexBatchSize The number of documents to index in a single batch. CFS waits until this number of documents are ready for indexing, unless the IndexTimeInterval is reached.
    IndexTimeInterval The maximum amount of time, in seconds, that a document can wait in the index queue.

    For example:

    [Indexing]
    IndexBatchSize=1000
    IndexTimeInterval=600
    
  4. Save the configuration file.