[ML] Increase max data frames in list from 100 to 1000 (#38973)
This commit is contained in:
parent
c33c8877dd
commit
1a03c5135b
|
@ -105,10 +105,13 @@ export const elasticsearchJsPlugin = (Client, config, components) => {
|
||||||
method: 'POST'
|
method: 'POST'
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Currently the endpoint uses a default size of 100 unless a size is supplied.
|
||||||
|
// So until paging is supported in the UI, explicitly supply a size of 1000
|
||||||
|
// to match the max number of docs that the endpoint can return.
|
||||||
ml.getDataFrameTransforms = ca({
|
ml.getDataFrameTransforms = ca({
|
||||||
urls: [
|
urls: [
|
||||||
{
|
{
|
||||||
fmt: '/_data_frame/transforms',
|
fmt: '/_data_frame/transforms/_all?size=1000',
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
method: 'GET'
|
method: 'GET'
|
||||||
|
@ -125,7 +128,10 @@ export const elasticsearchJsPlugin = (Client, config, components) => {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
fmt: '/_data_frame/transforms/_stats',
|
// Currently the endpoint uses a default size of 100 unless a size is supplied.
|
||||||
|
// So until paging is supported in the UI, explicitly supply a size of 1000
|
||||||
|
// to match the max number of docs that the endpoint can return.
|
||||||
|
fmt: '/_data_frame/transforms/_all/_stats?size=1000',
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
method: 'GET'
|
method: 'GET'
|
||||||
|
|
Loading…
Reference in a new issue