Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Elasticsearch mappings that are the bane of my existance.
{
"fw_appv2": {
"mappings": {
"syncConversations": {
"properties": {
"archived": {
"type": "boolean"
},
"communication_log_id": {
"type": "string"
},
"communications": {
"type": "string"
},
"communicationsIds": {
"type": "string"
},
"createdAt": {
"type": "date",
"format": "strict_date_optional_time||epoch_millis"
},
"enterprise_id": {
"type": "string"
},
"lastChatTimestamp": {
"type": "date",
"format": "strict_date_optional_time||epoch_millis"
},
"matchedFlagContents": {
"type": "string",
"fielddata": false
},
"matchedFlagsCount": {
"type": "long"
},
"matchedKeywords": {
"type": "string",
"fielddata": false
},
"matchedKeywordsCount": {
"type": "double"
},
"message": {
"type": "string"
},
"parser": {
"type": "string"
},
"participants": {
"type": "string"
},
"participatingUsersIds": {
"type": "string"
},
"source": {
"type": "string"
},
"timestamp": {
"type": "date",
"format": "strict_date_optional_time||epoch_millis"
},
"unique_conversation_id": {
"type": "string",
"fielddata": false
}
}
},
"count": {
"properties": {
"query": {
"properties": {
"bool": {
"properties": {
"must": {
"properties": {
"bool": {
"properties": {
"must_not": {
"properties": {
"match": {
"properties": {
"archived": {
"type": "boolean"
}
}
}
}
}
}
},
"match": {
"properties": {
"enterprise_id": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
}
}
},
"match_phrase": {
"properties": {
"from": {
"properties": {
"email": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
}
}
}
}
}
}
}
}
}
}
}
}
},
"ConversationMappings": {
"properties": {
"addedToCase": {
"type": "boolean"
},
"archived": {
"type": "boolean"
},
"archivedAt": {
"type": "date",
"format": "strict_date_optional_time||epoch_millis"
},
"archivedBy": {
"type": "string"
},
"archivedType": {
"type": "long"
},
"channelName": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"communicationIds": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"communication_log_id": {
"type": "string"
},
"communications": {
"type": "string"
},
"communicationsIds": {
"type": "string"
},
"createdAt": {
"type": "date",
"format": "strict_date_optional_time||epoch_millis"
},
"enterprise_id": {
"type": "string"
},
"id": {
"type": "string"
},
"issueCount": {
"type": "long"
},
"lastChatTimestamp": {
"type": "date",
"format": "strict_date_optional_time||epoch_millis"
},
"lexiKeywords": {
"type": "string"
},
"matchedFlagContents": {
"type": "string",
"fielddata": false
},
"matchedFlagsCount": {
"type": "long"
},
"matchedKeywords": {
"type": "string",
"fielddata": false
},
"matchedKeywordsCount": {
"type": "double"
},
"matched_keywords": {
"type": "string"
},
"message": {
"type": "string"
},
"parser": {
"type": "string"
},
"participants": {
"type": "string"
},
"participatingUsersIds": {
"type": "string"
},
"query": {
"properties": {
"match": {
"properties": {
"communication_log_id": {
"type": "string"
}
}
}
}
},
"source": {
"type": "string"
},
"timestamp": {
"type": "date",
"format": "strict_date_optional_time||epoch_millis"
},
"unique_conversation_id": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
}
}
},
"Communications": {
"properties": {
"$where": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"0eszs": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"12wv1": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"1izsi": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"1n93z": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"2dgji": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"2vvhe": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"2x4s4": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"2y8jz": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"2yilm": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"3gix9": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"3k6sw": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"3m67m": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"3mxbh": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"4206r": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"4vyr7": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"5g7sy": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"5mawv": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"5pe8n": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"5qnpc": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"60k1x": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"66kyx": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"68d4s": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"6ebmp": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"6mgur": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"6r57r": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"6ufsz": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"70tgp": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"7hl4k": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"7uknz": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"7x5bq": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"87juc": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"8mzcq": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"96dr4": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"9hvtd": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"9lprd": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"9qcs9": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"addedToCase": {
"type": "boolean"
},
"afc2n": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"aggs": {
"properties": {
"agg_terms_communication_log_id": {
"properties": {
"terms": {
"properties": {
"field": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
}
}
}
}
}
}
},
"ak2vf": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"archived": {
"type": "boolean"
},
"archivedAt": {
"type": "date",
"format": "strict_date_optional_time||epoch_millis"
},
"archivedBy": {
"type": "string"
},
"archivedType": {
"type": "long"
},
"attachments": {
"properties": {
"fileName": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"inlineId": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"name": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"type": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
}
}
},
"autoCleared": {
"type": "boolean"
},
"bcc": {
"properties": {
"email": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"name": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
}
}
},
"bccUserIds": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"bodies": {
"properties": {
"body_text": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"body_txt": {
"type": "string"
},
"body_type": {
"type": "string"
},
"note": {
"type": "string"
}
}
},
"bwffk": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"c4j5e": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"c9amu": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"caseIds": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"cc": {
"properties": {
"email": {
"type": "string"
},
"name": {
"type": "string"
}
}
},
"ccUserIds": {
"type": "string"
},
"ch030": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"communication_log_id": {
"type": "string"
},
"conversationId": {
"type": "string"
},
"created_at": {
"type": "date",
"format": "strict_date_optional_time||epoch_millis"
},
"created_time": {
"type": "date",
"format": "strict_date_optional_time||epoch_millis"
},
"cy6un": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"d0fco": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"daywa": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"dnjmq": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"duehw": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"enterprise_id": {
"type": "string"
},
"escalated": {
"type": "boolean"
},
"escalatedAt": {
"type": "date",
"format": "strict_date_optional_time||epoch_millis"
},
"escalatedBy": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"escalationId": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"externalId": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\n1o7pf": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\n1tev0": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\n2pzb2": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\n3ecv5": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\n3lwnf": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\n4r2ly": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\n51rfj": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\n6dmly": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\n6fg4d": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\n6p7d9": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\n76p48": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\n8memr": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\n9mt9k": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\nahgxe": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\nakx76": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\nbjo6y": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\nc3mip": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\ndchl2": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\ndxld1": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\neq75t": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\ng7ctn": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\nh9v6c": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\nijb0i": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\nj4r0m": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\nj8sol": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\njaqse": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\njbech": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\nl5jqi": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\nmbz7j": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\nmieh1": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\nmrcg5": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\nnx5cf": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\nogdde": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\np2vpm": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\nprc8z": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\nqf65r": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\nr8fgs": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\ns5bum": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\nsajds": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\nu3x7i": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\nuch1q": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\nugd3o": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\nw0x60": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\nwrcha": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\nwvh1n": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\ny26e6": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"f\r\ny9ftp": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"fileName": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"fky9f": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"from": {
"properties": {
"alternate": {
"type": "string"
},
"email": {
"type": "string"
},
"name": {
"type": "string"
},
"username": {
"type": "string"
}
}
},
"fromId": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"fromUserId": {
"type": "string"
},
"from_": {
"properties": {
"email": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"name": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
}
}
},
"fy97x": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"g2dcr": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"gpyjv": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"groundTruthNoiseLabel": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"gyy20": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"h2a1t": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"h3l2v": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"hagit": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"hv4cz": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"hwafw": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"i0qha": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"id": {
"type": "string"
},
"ilaev": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"junkProbability": {
"type": "float"
},
"jxwfb": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"k7wbj": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"k9v3m": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"kaem0": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"klpec": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"knd2c": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"l0ium": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"l0z9z": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"l7sae": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"la0hj": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"lexiKeywords": {
"type": "string"
},
"lgb6a": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"lmh86": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"matchedFlagContents": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"matchedFlagIds": {
"type": "long"
},
"matchedFlagsCount": {
"type": "long"
},
"matchedKeywords": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"matchedKeywordsCount": {
"type": "double"
},
"matched_keywords": {
"type": "string"
},
"message": {
"type": "string"
},
"message_index": {
"type": "string"
},
"metaData": {
"properties": {
"contentHash": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"messageOwner": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
}
}
},
"miqmi": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"mjabv": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"nhdtx": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"noiseProbability": {
"type": "float"
},
"nv3n1": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"oqg16": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"oqvmu": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"oqyw8": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"ouzv6": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"p8528": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"p8q0w": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"parser": {
"type": "string"
},
"pbpy3": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"psrqy": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"publicFacingId": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"publicId": {
"type": "long"
},
"q07lc": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"qa0ef": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"qfcnh": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"query": {
"properties": {
"bool": {
"properties": {
"filter": {
"properties": {
"bool": {
"properties": {
"must": {
"properties": {
"term": {
"properties": {
"enterprise_id": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"reviewed": {
"type": "boolean"
}
}
}
}
}
}
}
}
},
"must": {
"properties": {
"exists": {
"properties": {
"field": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
}
}
},
"match": {
"properties": {
"enterprise_id": {
"type": "string",
"fielddata": false
},
"source": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
}
}
},
"range": {
"properties": {
"timestamp": {
"properties": {
"gte": {
"type": "date",
"format": "strict_date_optional_time||epoch_millis"
}
}
}
}
},
"term": {
"properties": {
"_type": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"enterprise_id": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"type": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
}
}
}
}
}
}
},
"constant_score": {
"properties": {
"filter": {
"properties": {
"bool": {
"properties": {
"must": {
"properties": {
"bool": {
"properties": {
"must_not": {
"properties": {
"terms": {
"properties": {
"from": {
"properties": {
"email": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
}
}
}
}
}
}
}
}
},
"range": {
"properties": {
"timestamp": {
"properties": {
"gte": {
"type": "date",
"format": "strict_date_optional_time||epoch_millis"
},
"lt": {
"type": "date",
"format": "strict_date_optional_time||epoch_millis"
}
}
}
}
},
"regexp": {
"properties": {
"from": {
"properties": {
"email": {
"properties": {
"value": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
}
}
}
}
}
}
},
"term": {
"properties": {
"archived": {
"type": "boolean"
},
"autoCleared": {
"type": "boolean"
},
"enterprise_id": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"id": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"type": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
}
}
}
}
}
}
}
}
}
}
},
"match": {
"properties": {
"communication_log_id": {
"type": "string"
}
}
}
}
},
"qv7cl": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"reviewed": {
"type": "boolean"
},
"reviewedAt": {
"type": "date",
"format": "strict_date_optional_time||epoch_millis"
},
"reviewedBy": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"riskObject": {
"properties": {
"ErrorMessage": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"Id": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"MatchedFlagContents": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"MatchedFlagIds": {
"type": "long"
},
"RiskScore": {
"type": "long"
},
"ScoringResult": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},
"fielddata": false
},
"UniqueFlagIds": {
"type": "long"
},
"UniqueFlags": {
"type": "string",
"fields": {
"keyword": {
"type": "string",
"index": "not_analyzed",
"ignore_above": 256,
"fielddata": false
}
},