Here is my keydate index:
{
"keydate": {
"aliases": {},
"mappings": {
"keydate": {
"properties": {
"address": {
"properties": {
"city": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"country": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"descriptor": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"objectState": {
"type": "long"
},
"state": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"streetLine1": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"streetLine2": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"zipCode": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}
}
},
"classId": {
"type": "keyword"
},
"createdBy": {
"type": "keyword"
},
"createdOn": {
"type": "date",
"format": "date_optional_time"
},
"date": {
"type": "date",
"format": "date_optional_time"
},
"description": {
"type": "text"
},
"endTime": {
"type": "keyword"
},
"keyDateId": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"keydateId": {
"type": "keyword"
},
"locationAddress": {
"properties": {
"city": {
"type": "keyword"
},
"country": {
"type": "keyword"
},
"state": {
"type": "keyword"
},
"streetLine1": {
"type": "text"
},
"streetLine2": {
"type": "text"
},
"zipCode": {
"type": "keyword"
}
}
},
"message": {
"type": "keyword"
},
"modifiedBy": {
"type": "keyword"
},
"modifiedOn": {
"type": "date",
"format": "date_optional_time"
},
"objectState": {
"type": "long"
},
"photoes": {
"properties": {
"url": {
"type": "keyword"
}
}
},
"pinToTop": {
"type": "boolean"
},
"reminder": {
"properties": {
"value": {
"type": "integer"
}
}
},
"scheduleDate": {
"type": "date",
"format": "date_optional_time"
},
"schoolId": {
"type": "keyword"
},
"sendNow": {
"type": "boolean"
},
"sendText": {
"type": "boolean"
},
"startTime": {
"type": "keyword"
},
"title": {
"type": "text"
}
}
}
},
"settings": {
"index": {
"creation_date": "1522271916303",
"number_of_shards": "5",
"number_of_replicas": "1",
"uuid": "5cophHReQIapRS0_H87tYg",
"version": {
"created": "6000199"
},
"provided_name": "keydate"
}
}
}
}