Crawler: SafetyChecks
object
safetyChecks: { beforeIndexPublishing: { maxLostRecordsPercentage: number } }
About this parameter
A configurable collection of safety checks to make sure the crawl was successful.
This configuration describes all the checks the Crawler can perform to ensure data is correct. For example, the number of records from one crawl to another.
Examples
1
2
3
4
5
6
7
{
safetyChecks: {
beforeIndexPublishing: {
maxLostRecordsPercentage: 10
}
}
}
Parameters
beforeIndexPublishing
|
type: object
Optional
Checks triggered after the Crawler finishes, and before pushing the records to Algolia into the final index. |
beforeIndexPublishing ➔ maxLostRecordsPercentage
maxLostRecordsPercentage
|
type: number
Optional
Defines the limit of records difference between the new and the last crawl as a percentage of total records (inclusive). Default: Minimum: If the new number of records is less than |