Skip to content

Commit

Permalink
human redable and removed trailing symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
Amy Ankney committed Aug 3, 2015
1 parent 6166845 commit 4e86fe5
Showing 1 changed file with 236 additions and 1 deletion.
237 changes: 236 additions & 1 deletion twitter-elasticsearch-mapping
Original file line number Diff line number Diff line change
@@ -1 +1,236 @@
{"tweets":{"properties":{"coordinates":{"type":"geo_shape"},"created_at":{"type":"date","format":"EEE MMM dd HH:mm:ss Z YYYY"}, "entities":{"properties":{"hashtags":{"properties":{"indices":{"type":"long"}, "text":{"type":"string"}}},"urls":{"properties":{"display_url":{"type":"string"},"expanded_url":{"type":"string", "index": "not_analyzed"},"indices":{"type":"long"},"url":{"type":"string"}}}}},"favorite_count":{"type":"long"},"favorited":{"type":"boolean"},"filter_level":{"type":"string"},"geo":{"type":"geo_shape"},"id":{"type":"long"},"id_str":{"type":"string"},"lang":{"type":"string"},"place":{"properties":{"attributes":{"type":"object"},"bounding_box":{"transform":{"script":"ctx._source['coordinates'].add(ctx._source['coordinates'][0])"},"type":"geo_shape"},"country":{"type":"string","index":"not_analyzed"},"country_code":{"type":"string"},"full_name":{"type":"string", "index": "not_analyzed"},"id":{"type":"string"},"name":{"type":"string", "index":"not_analyzed"},"place_type":{"type":"string"},"url":{"type":"string"}}},"possibly_sensitive":{"type":"boolean"},"retweet_count":{"type":"long"},"retweeted":{"type":"boolean"},"source":{"type":"string", "index": "not_analyzed"},"text":{"type":"string"},"timestamp_ms":{"type":"date"},"truncated":{"type":"boolean"},"user":{"properties":{"contributors_enabled":{"type":"boolean"},"created_at":{"type":"date","format":"EEE MMM dd HH:mm:ss Z YYYY"},"default_profile":{"type":"boolean"},"default_profile_image":{"type":"boolean"},"description":{"type":"string"},"favourites_count":{"type":"long"},"followers_count":{"type":"long"},"friends_count":{"type":"long"},"geo_enabled":{"type":"boolean"},"id":{"type":"long"},"id_str":{"type":"string"},"is_translator":{"type":"boolean"},"lang":{"type":"string"},"listed_count":{"type":"long"},"location":{"type":"string","index": "not_analyzed"},"name":{"type":"string", "index": "not_analyzed"},"profile_background_color":{"type":"string"},"profile_background_image_url":{"type":"string"},"profile_background_image_url_https":{"type":"string"},"profile_background_tile":{"type":"boolean"},"profile_banner_url":{"type":"string"},"profile_image_url":{"type":"string"},"profile_image_url_https":{"type":"string"},"profile_link_color":{"type":"string"},"profile_sidebar_border_color":{"type":"string"},"profile_sidebar_fill_color":{"type":"string"},"profile_text_color":{"type":"string"},"profile_use_background_image":{"type":"boolean"},"protected":{"type":"boolean"},"screen_name":{"type":"string"},"statuses_count":{"type":"long"},"time_zone":{"type":"string"},"url":{"type":"string"},"utc_offset":{"type":"long"},"verified":{"type":"boolean"}}}}}}'
{
"tweets": {
"properties": {
"coordinates": {
"type": "geo_shape"
},
"created_at": {
"format": "EEE MMM dd HH:mm:ss Z YYYY",
"type": "date"
},
"entities": {
"properties": {
"hashtags": {
"properties": {
"indices": {
"type": "long"
},
"text": {
"type": "string"
}
}
},
"urls": {
"properties": {
"display_url": {
"type": "string"
},
"expanded_url": {
"index": "not_analyzed",
"type": "string"
},
"indices": {
"type": "long"
},
"url": {
"type": "string"
}
}
}
}
},
"favorite_count": {
"type": "long"
},
"favorited": {
"type": "boolean"
},
"filter_level": {
"type": "string"
},
"geo": {
"type": "geo_shape"
},
"id": {
"type": "long"
},
"id_str": {
"type": "string"
},
"lang": {
"type": "string"
},
"place": {
"properties": {
"attributes": {
"type": "object"
},
"bounding_box": {
"transform": {
"script": "ctx._source['coordinates'].add(ctx._source['coordinates'][0])"
},
"type": "geo_shape"
},
"country": {
"index": "not_analyzed",
"type": "string"
},
"country_code": {
"type": "string"
},
"full_name": {
"index": "not_analyzed",
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"index": "not_analyzed",
"type": "string"
},
"place_type": {
"type": "string"
},
"url": {
"type": "string"
}
}
},
"possibly_sensitive": {
"type": "boolean"
},
"retweet_count": {
"type": "long"
},
"retweeted": {
"type": "boolean"
},
"source": {
"index": "not_analyzed",
"type": "string"
},
"text": {
"type": "string"
},
"timestamp_ms": {
"type": "date"
},
"truncated": {
"type": "boolean"
},
"user": {
"properties": {
"contributors_enabled": {
"type": "boolean"
},
"created_at": {
"format": "EEE MMM dd HH:mm:ss Z YYYY",
"type": "date"
},
"default_profile": {
"type": "boolean"
},
"default_profile_image": {
"type": "boolean"
},
"description": {
"type": "string"
},
"favourites_count": {
"type": "long"
},
"followers_count": {
"type": "long"
},
"friends_count": {
"type": "long"
},
"geo_enabled": {
"type": "boolean"
},
"id": {
"type": "long"
},
"id_str": {
"type": "string"
},
"is_translator": {
"type": "boolean"
},
"lang": {
"type": "string"
},
"listed_count": {
"type": "long"
},
"location": {
"index": "not_analyzed",
"type": "string"
},
"name": {
"index": "not_analyzed",
"type": "string"
},
"profile_background_color": {
"type": "string"
},
"profile_background_image_url": {
"type": "string"
},
"profile_background_image_url_https": {
"type": "string"
},
"profile_background_tile": {
"type": "boolean"
},
"profile_banner_url": {
"type": "string"
},
"profile_image_url": {
"type": "string"
},
"profile_image_url_https": {
"type": "string"
},
"profile_link_color": {
"type": "string"
},
"profile_sidebar_border_color": {
"type": "string"
},
"profile_sidebar_fill_color": {
"type": "string"
},
"profile_text_color": {
"type": "string"
},
"profile_use_background_image": {
"type": "boolean"
},
"protected": {
"type": "boolean"
},
"screen_name": {
"type": "string"
},
"statuses_count": {
"type": "long"
},
"time_zone": {
"type": "string"
},
"url": {
"type": "string"
},
"utc_offset": {
"type": "long"
},
"verified": {
"type": "boolean"
}
}
}
}
}
}

0 comments on commit 4e86fe5

Please sign in to comment.