Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "template": "dupe_badge_v1-*",
- "settings": {
- "index.number_of_replicas": "1",
- "index.routing.allocation.total_shards_per_node": "-1",
- "index.number_of_shards": “3”,
- "index.auto_expand_replicas": "false"
- },
- "mappings": {
- "_default_": {
- "dynamic_templates": [{
- "string_template": {
- "mapping": {
- "index": "not_analyzed",
- "type": "string"
- },
- "match_mapping_type": "string",
- "match": "*"
- }
- }],
- "_all": {
- "enabled": false
- },
- "properties": {
- "readerdesc": {
- "index": "not_analyzed",
- "type": "string"
- },
- "firstname": {
- "index": "not_analyzed",
- "type": "string"
- },
- "cardnum": {
- "index": "not_analyzed",
- "type": "long"
- },
- "event_time_utc": {
- "format": "YYYY-MM-dd HH:mm:ss",
- "index": "not_analyzed",
- "ignore_malformed": true,
- "type": "date"
- },
- "department": {
- "index": "not_analyzed",
- "type": "string"
- },
- "floor": {
- "index": "not_analyzed",
- "type": "long"
- },
- "building": {
- "index": "not_analyzed",
- "type": "string"
- },
- "email": {
- "index": "not_analyzed",
- "type": "string"
- },
- "lastname": {
- "index": "not_analyzed",
- "type": "string"
- }
- }
- }
- },
- "aliases": {}
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement