Skip to content

Commit 0e97d38

Browse files
authored
Merge branch 'main' into feat/composition-default-authmode
2 parents 98eb49e + aae4ddb commit 0e97d38

File tree

3 files changed

+23
-8
lines changed

3 files changed

+23
-8
lines changed

specs/bundled/crawler.doc.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2881,8 +2881,8 @@ components:
28812881
beforeIndexPublishing:
28822882
type: object
28832883
description: >-
2884-
Checks triggered after the crawl finishes and before the records are
2885-
added to the Algolia index.
2884+
These checks are triggered after the crawl finishes but before the
2885+
records are added to the Algolia index.
28862886
properties:
28872887
maxLostRecordsPercentage:
28882888
type: number
@@ -2900,9 +2900,14 @@ components:
29002900
minimum: 1
29012901
maximum: 100
29022902
default: 10
2903+
maxFailedUrls:
2904+
type: number
2905+
description: |
2906+
Stops the crawler if a specified number of pages fail to crawl.
2907+
If undefined, the crawler won't stop if it encounters such errors.
29032908
safetyChecks:
29042909
type: object
2905-
description: Safety checks for ensuring data integrity between crawls.
2910+
description: Checks to ensure the crawl was successful.
29062911
properties:
29072912
beforeIndexPublishing:
29082913
$ref: '#/components/schemas/beforeIndexPublishing'

specs/bundled/crawler.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2881,8 +2881,8 @@ components:
28812881
beforeIndexPublishing:
28822882
type: object
28832883
description: >-
2884-
Checks triggered after the crawl finishes and before the records are
2885-
added to the Algolia index.
2884+
These checks are triggered after the crawl finishes but before the
2885+
records are added to the Algolia index.
28862886
properties:
28872887
maxLostRecordsPercentage:
28882888
type: number
@@ -2900,9 +2900,14 @@ components:
29002900
minimum: 1
29012901
maximum: 100
29022902
default: 10
2903+
maxFailedUrls:
2904+
type: number
2905+
description: |
2906+
Stops the crawler if a specified number of pages fail to crawl.
2907+
If undefined, the crawler won't stop if it encounters such errors.
29032908
safetyChecks:
29042909
type: object
2905-
description: Safety checks for ensuring data integrity between crawls.
2910+
description: Checks to ensure the crawl was successful.
29062911
properties:
29072912
beforeIndexPublishing:
29082913
$ref: '#/components/schemas/beforeIndexPublishing'

specs/crawler/common/schemas/configuration.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,14 +444,14 @@ extraParameters:
444444
445445
safetyChecks:
446446
type: object
447-
description: Safety checks for ensuring data integrity between crawls.
447+
description: Checks to ensure the crawl was successful.
448448
properties:
449449
beforeIndexPublishing:
450450
$ref: '#/beforeIndexPublishing'
451451

452452
beforeIndexPublishing:
453453
type: object
454-
description: Checks triggered after the crawl finishes and before the records are added to the Algolia index.
454+
description: These checks are triggered after the crawl finishes but before the records are added to the Algolia index.
455455
properties:
456456
maxLostRecordsPercentage:
457457
type: number
@@ -464,6 +464,11 @@ beforeIndexPublishing:
464464
minimum: 1
465465
maximum: 100
466466
default: 10
467+
maxFailedUrls:
468+
type: number
469+
description: |
470+
Stops the crawler if a specified number of pages fail to crawl.
471+
If undefined, the crawler won't stop if it encounters such errors.
467472
468473
schedule:
469474
type: string

0 commit comments

Comments
 (0)