Skip to content

Commit 7fe4247

Browse files
authored
Add descriptions for final cat APIs (#2139)
1 parent 902222a commit 7fe4247

File tree

24 files changed

+885
-641
lines changed

24 files changed

+885
-641
lines changed

output/schema/schema.json

Lines changed: 404 additions & 345 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/validation-errors.json

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/cat/ml_data_frame_analytics/types.ts

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,81 +21,81 @@ import { Id, IndexName, Name, VersionString } from '@_types/common'
2121

2222
export class DataFrameAnalyticsRecord {
2323
/**
24-
* the id
24+
* The identifier for the job.
2525
*/
2626
'id'?: Id
2727
/**
28-
* analysis type
28+
* The type of analysis that the job performs.
2929
* @aliases t
3030
*/
3131
'type'?: string
3232
/**
33-
* job creation time
33+
* The time when the job was created.
3434
* @aliases ct, createTime
3535
*/
3636
'create_time'?: string
3737
/**
38-
* the version of Elasticsearch when the analytics was created
38+
* The version of Elasticsearch when the job was created.
3939
* @aliases v
4040
*/
4141
'version'?: VersionString
4242
/**
43-
* source index
43+
* The name of the source index.
4444
* @aliases si, sourceIndex
4545
*/
4646
'source_index'?: IndexName
4747
/**
48-
* destination index
48+
* The name of the destination index.
4949
* @aliases di, destIndex
5050
*/
5151
'dest_index'?: IndexName
5252
/**
53-
* description
53+
* A description of the job.
5454
* @aliases d
5555
*/
5656
'description'?: string
5757
/**
58-
* model memory limit
58+
* The approximate maximum amount of memory resources that are permitted for the job.
5959
* @aliases mml, modelMemoryLimit
6060
*/
6161
'model_memory_limit'?: string
6262
/**
63-
* job state
63+
* The current status of the job.
6464
* @aliases s
6565
*/
6666
'state'?: string
6767
/**
68-
* failure reason
68+
* Messages about the reason why the job failed.
6969
* @aliases fr, failureReason
7070
*/
7171
'failure_reason'?: string
7272
/**
73-
* progress
73+
* The progress report for the job by phase.
7474
* @aliases p
7575
*/
7676
'progress'?: string
7777
/**
78-
* why the job is or is not assigned to a node
78+
* Messages related to the selection of a node.
7979
* @aliases ae, assignmentExplanation
8080
*/
8181
'assignment_explanation'?: string
8282
/**
83-
* id of the assigned node
83+
* The unique identifier of the assigned node.
8484
* @aliases ni, nodeId
8585
*/
8686
'node.id'?: Id
8787
/**
88-
* name of the assigned node
88+
* The name of the assigned node.
8989
* @aliases nn, nodeName
9090
*/
9191
'node.name'?: Name
9292
/**
93-
* ephemeral id of the assigned node
93+
* The ephemeral identifier of the assigned node.
9494
* @aliases ne, nodeEphemeralId
9595
*/
9696
'node.ephemeral_id'?: Id
9797
/**
98-
* network address of the assigned node
98+
* The network address of the assigned node.
9999
* @aliases na, nodeAddress
100100
*/
101101
'node.address'?: string

specification/cat/ml_datafeeds/types.ts

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,62 +21,66 @@ import { DatafeedState } from '@ml/_types/Datafeed'
2121

2222
export class DatafeedsRecord {
2323
/**
24-
* the datafeed_id
24+
* The datafeed identifier.
2525
*/
2626
'id'?: string
2727
/**
28-
* the datafeed state
28+
* The status of the datafeed.
2929
* @aliases s
3030
*/
3131
'state'?: DatafeedState
3232
/**
33-
* why the datafeed is or is not assigned to a node
33+
* For started datafeeds only, contains messages relating to the selection of a node.
3434
* @aliases ae
3535
*/
3636
'assignment_explanation'?: string
3737
/**
38-
* bucket count
38+
* The number of buckets processed.
3939
* @aliases bc, bucketsCount
4040
*/
4141
'buckets.count'?: string
4242
/**
43-
* number of searches ran by the datafeed
43+
* The number of searches run by the datafeed.
4444
* @aliases sc, searchCount
4545
*/
4646
'search.count'?: string
4747
/**
48-
* the total search time
48+
* The total time the datafeed spent searching, in milliseconds.
4949
* @aliases st, searchTime
5050
*/
5151
'search.time'?: string
5252
/**
53-
* the average search time per bucket (millisecond)
53+
* The average search time per bucket, in milliseconds.
5454
* @aliases sba, searchBucketAvg
5555
*/
5656
'search.bucket_avg'?: string
5757
/**
58-
* the exponential average search time per hour (millisecond)
58+
* The exponential average search time per hour, in milliseconds.
5959
* @aliases seah, searchExpAvgHour
6060
*/
6161
//Node info
6262
'search.exp_avg_hour'?: string
6363
/**
64-
* id of the assigned node
64+
* The unique identifier of the assigned node.
65+
* For started datafeeds only, this information pertains to the node upon which the datafeed is started.
6566
* @aliases ni, nodeId
6667
*/
6768
'node.id'?: string
6869
/**
69-
* name of the assigned node
70+
* The name of the assigned node.
71+
* For started datafeeds only, this information pertains to the node upon which the datafeed is started.
7072
* @aliases nn, nodeName
7173
*/
7274
'node.name'?: string
7375
/**
74-
* ephemeral id of the assigned node
76+
* The ephemeral identifier of the assigned node.
77+
* For started datafeeds only, this information pertains to the node upon which the datafeed is started.
7578
* @aliases ne, nodeEphemeralId
7679
*/
7780
'node.ephemeral_id'?: string
7881
/**
79-
* network address of the assigned node
82+
* The network address of the assigned node.
83+
* For started datafeeds only, this information pertains to the node upon which the datafeed is started.
8084
* @aliases na, nodeAddress
8185
*/
8286
'node.address'?: string

0 commit comments

Comments
 (0)