-
Notifications
You must be signed in to change notification settings - Fork 8.3k
/
Copy pathedit_settings.ts
61 lines (58 loc) · 1.62 KB
/
edit_settings.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
export const readOnlySettings = [
'index.creation_date',
'index.number_of_shards',
'index.provided_name',
'index.uuid',
'index.version.created',
'index.compound_format',
'index.data_path',
'index.format',
'index.number_of_routing_shards',
'index.sort.field',
'index.sort.missing',
'index.sort.mode',
'index.sort.order',
'index.routing_partition_size',
'index.store.type',
];
export const limitedEditableSettings = [
'index.blocks.write',
'index.blocks.read',
'index.blocks.read_only',
'index.blocks.metadata',
'index.codec',
'index.default_pipeline',
'index.lifecycle.origination_date',
'index.final_pipeline',
'index.similarity',
'index.analysis',
'index.query.default_field',
'index.refresh_interval',
'index.query_string.lenient',
'index.sort.missing',
'index.sort.order',
'index.sort.mode',
'index.sort.field',
'index.mapping.ignore_malformed',
'index.mapping.coerce',
'index.mapping.total_fields.limit',
'index.merge.policy.deletes_pct_allowed',
'index.merge.policy.max_merge_at_once',
'index.merge.policy.expunge_deletes_allowed',
'index.merge.policy.floor_segment',
];
export const defaultsToDisplay = [
'index.number_of_replicas',
'index.blocks.read_only_allow_delete',
'index.codec',
'index.priority',
'index.query.default_field',
'index.refresh_interval',
'index.write.wait_for_active_shards',
];