Skip to content

Commit

Permalink
Merge branch 'main' into szabosteve/graph
Browse files Browse the repository at this point in the history
  • Loading branch information
szabosteve authored Aug 3, 2023
2 parents 6d6ab72 + fa2f09a commit 8590159
Show file tree
Hide file tree
Showing 3 changed files with 114 additions and 30 deletions.
106 changes: 85 additions & 21 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 12 additions & 2 deletions output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 17 additions & 7 deletions specification/indices/_types/IndexSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export class IndexSettings
* Enable or disable dynamic mapping for an index.
*/
mapping?: MappingLimitSettings
'indexing.slowlog'?: SlowlogSettings
'indexing.slowlog'?: IndexingSlowlogSettings
/**
* Configure indexing back pressure limits.
*/
Expand Down Expand Up @@ -479,12 +479,6 @@ export class SlowlogSettings {
export class SlowlogTresholds {
query?: SlowlogTresholdLevels
fetch?: SlowlogTresholdLevels
/**
* The indexing slow log, similar in functionality to the search slow log. The log file name ends with `_index_indexing_slowlog.json`.
* Log and the thresholds are configured in the same way as the search slowlog.
* @doc_id index-modules-slowlog-slowlog
*/
index?: SlowlogTresholdLevels
}

export class SlowlogTresholdLevels {
Expand Down Expand Up @@ -549,3 +543,19 @@ export class IndexingPressureMemory {
*/
limit?: integer
}

export class IndexingSlowlogSettings {
level?: string
source?: integer
reformat?: boolean
threshold?: IndexingSlowlogTresholds
}

export class IndexingSlowlogTresholds {
/**
* The indexing slow log, similar in functionality to the search slow log. The log file name ends with `_index_indexing_slowlog.json`.
* Log and the thresholds are configured in the same way as the search slowlog.
* @doc_id index-modules-slowlog-slowlog
*/
index?: SlowlogTresholdLevels
}

0 comments on commit 8590159

Please sign in to comment.