Skip to content

Commit 131ed32

Browse files
committed
Sets primary and replica shard counts
Why are these changes being introduced: * AWS uses a default of 5 which is larger than our current and predicted data size indicates is appropriate for any single index Relevant ticket(s): * https://mitlibraries.atlassian.net/browse/TIMX-187 How does this address that need: * Sets the value of primary and replica shards to 1 for all indexes created via TIM by adding those values to our existing settings loader
1 parent 710582c commit 131ed32

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

config/opensearch_mappings.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{
22
"settings": {
3+
"number_of_shards": 1,
4+
"number_of_replicas": 1,
35
"analysis": {
46
"analyzer": {
57
"keyword_no_trailing_punctuation": {
@@ -398,4 +400,4 @@
398400
}
399401
}
400402
}
401-
}
403+
}

0 commit comments

Comments
 (0)