<commit_before>/*
 * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
 * or more contributor license agreements. Licensed under the Elastic License;
 * you may not use this file except in compliance with the Elastic License.
 */
package org.elasticsearch.xpack.core.indexlifecycle;

import org.elasticsearch.common.settings.Setting;
import org.elasticsearch.common.unit.TimeValue;

/**
 * Class encapsulating settings related to Index Lifecycle Management X-Pack Plugin
 */
public class LifecycleSettings {
    public static final String LIFECYCLE_POLL_INTERVAL = "indices.lifecycle.poll_interval";
    public static final String LIFECYCLE_MAINTENANCE_MODE = "indices.lifecycle.maintenance";
    public static final String LIFECYCLE_NAME = "index.lifecycle.name";
    public static final String LIFECYCLE_PHASE = "index.lifecycle.phase";
    public static final String LIFECYCLE_ACTION = "index.lifecycle.action";
    public static final String LIFECYCLE_STEP = "index.lifecycle.step";
    public static final String LIFECYCLE_INDEX_CREATION_DATE = "index.lifecycle.date";
    public static final String LIFECYCLE_PHASE_TIME = "index.lifecycle.phase_time";
    public static final String LIFECYCLE_ACTION_TIME = "index.lifecycle.action_time";
    public static final String LIFECYCLE_STEP_TIME = "index.lifecycle.step_time";
    public static final String LIFECYCLE_FAILED_STEP = "index.lifecycle.failed_step";
    public static final String LIFECYCLE_STEP_INFO = "index.lifecycle.step_info";
    public static final String LIFECYCLE_SKIP = "index.lifecycle.skip";

    // NORELEASE: we should probably change the default to something other than three seconds for initial release
    public static final Setting<TimeValue> LIFECYCLE_POLL_INTERVAL_SETTING = Setting.positiveTimeSetting(LIFECYCLE_POLL_INTERVAL,
        TimeValue.timeValueSeconds(3), Setting.Property.Dynamic, Setting.Property.NodeScope);
    public static final Setting<String> LIFECYCLE_NAME_SETTING = Setting.simpleString(LIFECYCLE_NAME,<commit_msg>remove mention of old maintenance mode setting<commit_after>/*
 * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
 * or more contributor license agreements. Licensed under the Elastic License;
 * you may not use this file except in compliance with the Elastic License.
 */
package org.elasticsearch.xpack.core.indexlifecycle;

import org.elasticsearch.common.settings.Setting;
import org.elasticsearch.common.unit.TimeValue;

/**
 * Class encapsulating settings related to Index Lifecycle Management X-Pack Plugin
 */
public class LifecycleSettings {
    public static final String LIFECYCLE_POLL_INTERVAL = "indices.lifecycle.poll_interval";
    public static final String LIFECYCLE_NAME = "index.lifecycle.name";
    public static final String LIFECYCLE_PHASE = "index.lifecycle.phase";
    public static final String LIFECYCLE_ACTION = "index.lifecycle.action";
    public static final String LIFECYCLE_STEP = "index.lifecycle.step";
    public static final String LIFECYCLE_INDEX_CREATION_DATE = "index.lifecycle.date";
    public static final String LIFECYCLE_PHASE_TIME = "index.lifecycle.phase_time";
    public static final String LIFECYCLE_ACTION_TIME = "index.lifecycle.action_time";
    public static final String LIFECYCLE_STEP_TIME = "index.lifecycle.step_time";
    public static final String LIFECYCLE_FAILED_STEP = "index.lifecycle.failed_step";
    public static final String LIFECYCLE_STEP_INFO = "index.lifecycle.step_info";
    public static final String LIFECYCLE_SKIP = "index.lifecycle.skip";

    // NORELEASE: we should probably change the default to something other than three seconds for initial release
    public static final Setting<TimeValue> LIFECYCLE_POLL_INTERVAL_SETTING = Setting.positiveTimeSetting(LIFECYCLE_POLL_INTERVAL,
        TimeValue.timeValueSeconds(3), Setting.Property.Dynamic, Setting.Property.NodeScope);
    public static final Setting<String> LIFECYCLE_NAME_SETTING = Setting.simpleString(LIFECYCLE_NAME,
{'fraction_non_alphanumeric': 0.07047146401985112, 'fraction_numerical': 0.0004962779156327543, 'mean_word_length': 5.259316770186335, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3442134', 'n_tokens_mistral': 1159, 'n_tokens_neox': 1163, 'n_words': 323}