changeover_percent

Background

This option is a safety measure to prevent an update from swapping views if too few documents were gathered.

At the end of an update the live and offline views are swapped to make the new documents and indexes available to users. Before the swap is performed the number of documents in the older live view is compared to the number in the newer offline view and the changeover percent used to determine if the update has been successful.

If the percentage:

(number of new documents / number of old documents) * 100

is less than the changeover_percent value then the swap will not proceed.

Setting the key

Set this configuration key in the search package or data source configuration.

Use the configuration key editor to add or edit the changeover_percent key, and set the value. This can be set to any valid Integer value.

Default value

By default the new crawl only goes live if the ratio of new vs. old documents gathered is greater than 50%.

changeover_percent=50

Notes

This option does not apply to push data sources.