Skip to content

Remove ML system_annotations_retention_days setting #534

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 0 additions & 57 deletions output/schema/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -105393,17 +105393,6 @@
"namespace": "_types"
}
}
},
{
"name": "system_annotations_retention_days",
"required": false,
"type": {
"kind": "instance_of",
"type": {
"name": "long",
"namespace": "_types"
}
}
}
]
},
Expand Down Expand Up @@ -105652,17 +105641,6 @@
"namespace": "_types"
}
}
},
{
"name": "system_annotations_retention_days",
"required": false,
"type": {
"kind": "instance_of",
"type": {
"name": "long",
"namespace": "_types"
}
}
}
]
},
Expand Down Expand Up @@ -114261,18 +114239,6 @@
"namespace": "_types"
}
}
},
{
"description": "Advanced configuration option. The period of time (in days) that automatically created annotations are retained. Age is calculated relative to the timestamp of the latest bucket result. If this property has a non-null value, once per day at 00:30 (server time), annotations that are the specified number of days older than the latest bucket result are deleted from Elasticsearch. The default value is null, which means all annotations are retained. User created annotations are never deleted automatically.",
"name": "system_annotations_retention_days",
"required": false,
"type": {
"kind": "instance_of",
"type": {
"name": "long",
"namespace": "_types"
}
}
}
]
},
Expand Down Expand Up @@ -114529,17 +114495,6 @@
"namespace": "_types"
}
}
},
{
"name": "system_annotations_retention_days",
"required": false,
"type": {
"kind": "instance_of",
"type": {
"name": "long",
"namespace": "_types"
}
}
}
]
},
Expand Down Expand Up @@ -115852,18 +115807,6 @@
"namespace": "ml._types"
}
}
},
{
"description": "Advanced configuration option. The period of time (in days) that automatically created annotations are retained. Age is calculated relative to the timestamp of the latest bucket result. If this property has a non-null value, once per day at 00:30 (server time), annotations that are the specified number of days older than the latest bucket result are deleted from Elasticsearch. The default value is null, which means all annotations are retained. User created annotations are never deleted automatically.",
"name": "system_annotations_retention_days",
"required": false,
"type": {
"kind": "instance_of",
"type": {
"name": "long",
"namespace": "_types"
}
}
}
]
},
Expand Down
5 changes: 0 additions & 5 deletions output/typescript/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10717,7 +10717,6 @@ export interface MlJob {
renormalization_window_days?: long
results_index_name: IndexName
results_retention_days?: long
system_annotations_retention_days?: long
}

export interface MlJobBlocked {
Expand Down Expand Up @@ -10745,7 +10744,6 @@ export interface MlJobConfig {
renormalization_window_days?: long
results_index_name?: IndexName
results_retention_days?: long
system_annotations_retention_days?: long
}

export interface MlJobForecastStatistics {
Expand Down Expand Up @@ -11752,7 +11750,6 @@ export interface MlPutJobRequest extends RequestBase {
renormalization_window_days?: long
results_index_name?: IndexName
results_retention_days?: long
system_annotations_retention_days?: long
}
}

Expand All @@ -11777,7 +11774,6 @@ export interface MlPutJobResponse {
renormalization_window_days?: long
results_index_name: string
results_retention_days?: long
system_annotations_retention_days?: long
}

export interface MlPutTrainedModelRequest extends RequestBase {
Expand Down Expand Up @@ -11934,7 +11930,6 @@ export interface MlUpdateJobRequest extends RequestBase {
groups?: string[]
detectors?: MlDetector[]
per_partition_categorization?: MlPerPartitionCategorization
system_annotations_retention_days?: long
}
}

Expand Down
2 changes: 0 additions & 2 deletions specification/ml/_types/Job.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ export class Job {
renormalization_window_days?: long
results_index_name: IndexName
results_retention_days?: long
system_annotations_retention_days?: long
}

export class JobConfig {
Expand All @@ -88,7 +87,6 @@ export class JobConfig {
renormalization_window_days?: long
results_index_name?: IndexName
results_retention_days?: long
system_annotations_retention_days?: long
}
export class JobStats {
assignment_explanation?: string
Expand Down
4 changes: 0 additions & 4 deletions specification/ml/put_job/MlPutJobRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,5 @@ export interface Request extends RequestBase {
* Advanced configuration option. The period of time (in days) that results are retained. Age is calculated relative to the timestamp of the latest bucket result. If this property has a non-null value, once per day at 00:30 (server time), results that are the specified number of days older than the latest bucket result are deleted from Elasticsearch. The default value is null, which means all results are retained.
*/
results_retention_days?: long
/**
* Advanced configuration option. The period of time (in days) that automatically created annotations are retained. Age is calculated relative to the timestamp of the latest bucket result. If this property has a non-null value, once per day at 00:30 (server time), annotations that are the specified number of days older than the latest bucket result are deleted from Elasticsearch. The default value is null, which means all annotations are retained. User created annotations are never deleted automatically.
*/
system_annotations_retention_days?: long
}
}
1 change: 0 additions & 1 deletion specification/ml/put_job/MlPutJobResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,5 @@ export class Response {
renormalization_window_days?: long
results_index_name: string
results_retention_days?: long
system_annotations_retention_days?: long
}
}
4 changes: 0 additions & 4 deletions specification/ml/update_job/MlUpdateJobRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,5 @@ export interface Request extends RequestBase {
* Settings related to how categorization interacts with partition fields.
*/
per_partition_categorization?: PerPartitionCategorization
/**
* Advanced configuration option. The period of time (in days) that automatically created annotations are retained. Age is calculated relative to the timestamp of the latest bucket result. If this property has a non-null value, once per day at 00:30 (server time), annotations that are the specified number of days older than the latest bucket result are deleted from Elasticsearch. The default value is null, which means all annotations are retained. User created annotations are never deleted automatically.
*/
system_annotations_retention_days?: long
}
}