aboutsummaryrefslogtreecommitdiffstats
path: root/extra/elasticsearch/file_schema.json
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-02-26 20:02:56 -0800
committerBryan Newbold <bnewbold@robocracy.org>2021-04-06 21:53:49 -0700
commit6c69e2a0f0af766b434b003f3e3ea8e6cff4e36e (patch)
treefdfaf0c2aab28320074d7c5d4178bb71da296ee9 /extra/elasticsearch/file_schema.json
parentc0b145978280d53207aa714aab67cb582d9399ad (diff)
downloadfatcat-6c69e2a0f0af766b434b003f3e3ea8e6cff4e36e.tar.gz
fatcat-6c69e2a0f0af766b434b003f3e3ea8e6cff4e36e.zip
elasticsearch schema, docs, docker: update from ES 6.x to ES 7.x
Including removing index document names (use '_doc' instead during transition)
Diffstat (limited to 'extra/elasticsearch/file_schema.json')
-rw-r--r--extra/elasticsearch/file_schema.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/extra/elasticsearch/file_schema.json b/extra/elasticsearch/file_schema.json
index 0fa25c3a..4635e469 100644
--- a/extra/elasticsearch/file_schema.json
+++ b/extra/elasticsearch/file_schema.json
@@ -1,6 +1,8 @@
{
"settings": {
"index": {
+ "number_of_shards": 6,
+ "number_of_replicas": 0,
"analysis": {
"analyzer": {
"default": {
@@ -25,7 +27,7 @@
}
},
"mappings": {
- "file": {
+ "_doc": {
"properties": {
"ident": { "type": "keyword", "normalizer": "default", "doc_values": false },
"state": { "type": "keyword", "normalizer": "default" },