-
Notifications
You must be signed in to change notification settings - Fork 25k
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
[ML] GET _transform only returns 100 #43052
Comments
Pinging @elastic/ml-core |
A couple of thoughts:
|
Yes, agreed, this is how to solve the problem of knowing whether it's worth trying to get another page. |
Note that the data frame
For a system with over 100 transform stats docs, both the above return 100 docs, with |
Cool, I will get a PR together for fixing this behavior in 7.3. Returning the total count of docs makes sense :) |
#43241 <- PR so that the count is the total count given the id pattern. |
#43241 fixed many of the problems, but I don't think it fixed the HLRC entirely. |
#62809 fixed HLRC, I wonder if this issue can be closed now. @elastic/ml-qa would one of you be able to verify that we haven't missed anything? If so, we can close this issue. |
add hlrc integration tests for get and getStats closes #43052
add hlrc integration tests for get and getStats closes #43052
Found in 7.2.0-BC5
GET _data_frame/transforms/_all
will only return up to 100 documents.GET _data_frame/transforms/_all?size=200
will return up to 200 documents.If I had 105 data frame transforms, and I ran
GET _data_frame/transforms/_all
without specifying the size, then unfortunately the response does not give any indication that I need to page through the results. As a consequence, the UI only ever supports 100 transforms.There is a hard-coded defensive upper limit for 10k data frame transforms (same as for anomaly detection). Consider how we can improve usability for cases where there are more than 100 transforms.
The text was updated successfully, but these errors were encountered: