mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 09:28:55 -04:00
[ML] Enable ML on macOS on ARM (#78203)
Now that the release infrastructure is in place to deliver the ML C++ artifacts for macOS on ARM it can be enabled within Elasticsearch.
This commit is contained in:
parent
9033faffff
commit
9de62d53a2
1 changed files with 1 additions and 8 deletions
|
@ -59,14 +59,7 @@ public class XPackSettings {
|
||||||
public static final Setting<Boolean> GRAPH_ENABLED = Setting.boolSetting("xpack.graph.enabled", true, Setting.Property.NodeScope);
|
public static final Setting<Boolean> GRAPH_ENABLED = Setting.boolSetting("xpack.graph.enabled", true, Setting.Property.NodeScope);
|
||||||
|
|
||||||
/** Setting for enabling or disabling machine learning. Defaults to true. */
|
/** Setting for enabling or disabling machine learning. Defaults to true. */
|
||||||
public static final Setting<Boolean> MACHINE_LEARNING_ENABLED = Setting.boolSetting(
|
public static final Setting<Boolean> MACHINE_LEARNING_ENABLED = Setting.boolSetting("xpack.ml.enabled", true,
|
||||||
"xpack.ml.enabled",
|
|
||||||
IS_DARWIN_AARCH64 == false,
|
|
||||||
value -> {
|
|
||||||
if (value && IS_DARWIN_AARCH64) {
|
|
||||||
throw new IllegalArgumentException("[xpack.ml.enabled] can not be set to [true] on [Mac OS X/aarch64]");
|
|
||||||
}
|
|
||||||
},
|
|
||||||
Setting.Property.NodeScope);
|
Setting.Property.NodeScope);
|
||||||
|
|
||||||
/** Setting for enabling or disabling auditing. Defaults to false. */
|
/** Setting for enabling or disabling auditing. Defaults to false. */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue