Skip to content
This repository has been archived by the owner on Apr 26, 2021. It is now read-only.

Commit

Permalink
changed replicas to 0 and added in mappings for the call document type
Browse files Browse the repository at this point in the history
  • Loading branch information
swackhamer committed Jun 26, 2016
1 parent e1141c2 commit b09c299
Showing 1 changed file with 22 additions and 4 deletions.
26 changes: 22 additions & 4 deletions data/elasticsearch/template.json
Expand Up @@ -5,7 +5,7 @@
"index": {
"number_of_shards": "1",
"codec": "best_compression",
"number_of_replicas": "1"
"number_of_replicas": "0"
}
},
"mappings": {
Expand All @@ -27,9 +27,27 @@
"report_time": {
"format": "epoch_second",
"type": "date"
},
"task_id": {
"type": "long"
}
}
},
"call": {
"dynamic_templates": [
{
"notanalyzed": {
"mapping": {
"index": "not_analyzed",
"type": "string",
"doc_values": "True"
},
"match_mapping_type": "string",
"match": "*"
}
}
],
"properties": {
"report_time": {
"format": "epoch_second",
"type": "date"
}
}
}
Expand Down

0 comments on commit b09c299

Please sign in to comment.