-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ML] Fix retention of categorization example limits (#182103)
When updating a job's model memory limits via the UI, if `categorization_examples_limit` has been set in `analysis_limits`, the configured value is replaced by the default value of `4`. This appears to be a [bug](elastic/elasticsearch#108068) in elasticsearch and so this PR is a workaround to ensure the original `categorization_examples_limit` is sent as part of the update to ensure it isn't reset to the default. Also fixes an issue in the advanced job wizard where setting `categorization_examples_limit` in the JSON is not retained when saving the JSON.
- Loading branch information
1 parent
06f3c30
commit 0842c60
Showing
2 changed files
with
20 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters