Lines Matching refs:settings
14 * Elastica index settings object.
16 * All settings listed in the update settings API (https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-update-settings.html)
22 * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-update-settings.html
65 * Returns the current settings of the index.
78 * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-update-settings.html
89 if (empty($data['settings']) || empty($data['settings']['index'])) {
94 $settings = $data['settings']['index'];
97 $settings = \array_merge($defaults, $settings);
101 return $settings;
104 if (isset($settings[$setting])) {
105 return $settings[$setting];
109 // translate old dot-notation settings to nested arrays
112 if (isset($settings[$key])) {
113 $settings = $settings[$key];
119 return $settings;
128 * One can use a real bool, int(0), int(1) to set bool settings.
129 * But Elasticsearch stores and returns all settings as strings and does
269 // When blocks.metadata is enabled, reading the settings is not possible anymore.
369 $settings = $this->get();
371 return $settings['merge']['policy'][$key] ?? null;
375 * Can be used to set/update settings.
401 * Updates the given settings for the index.
403 * With elasticsearch 0.16 the following settings are supported