Commit 667f4f3c authored by Francesco Poldi's avatar Francesco Poldi

New index-tweets

parent fc61dfdd
...@@ -3,27 +3,39 @@ PUT twinttweets ...@@ -3,27 +3,39 @@ PUT twinttweets
"mappings": { "mappings": {
"items": { "items": {
"properties": { "properties": {
"id": {"type": "long"}, "id": {"type": "long"},
"date": {"type": "date", "format": "yyyy-MM-dd HH:mm:ss"}, "conversation_id": {"type": "long"},
"timezone": {"type": "text"}, "created_at": {"type": "long"},
"location": {"type": "text"}, "date": {"type": "date", "format": "yyyy-MM-dd HH:mm:ss"},
"hashtags": {"type": "text"}, "timezone": {"type": "keyword"},
"tweet": {"type": "text"}, "place": {"type": "keyword"},
"replies": {"type": "boolean"}, "location": {"type": "keyword"},
"retweets": {"type": "boolean"}, "tweet": {"type": "text"},
"likes": {"type": "boolean"}, "hashtags": {"type": "keyword"},
"user_id": {"type": "keyword"}, "user_id": {"type": "long"},
"username": {"type": "keyword"}, "user_id_str": {"type": "keyword"},
"day": {"type": "integer"}, "username": {"type": "keyword"},
"hour": {"type": "integer"}, "name": {"type": "text"},
"link": {"type": "text"}, "profile_image_url": {"type": "text"},
"retweet": {"type": "text"}, "day": {"type": "integer"},
"user_rt": {"type": "text"}, "hour": {"type": "integer"},
"essid": {"type": "keyword"}, "link": {"type": "text"},
"nlikes": {"type": "integer"}, "gif_url": {"type": "text"},
"nreplies": {"type": "integer"}, "gif_thumb": {"type": "text"},
"nretweets": {"type": "integer"}, "video_url": {"type": "text"},
"search": {"type": "text"} "video_thumb": {"type": "text"},
"is_reply_to": {"type": "long"},
"has_parent_tweet": {"type": "long"},
"retweet": {"type": "text"},
"essid": {"type": "keyword"},
"nlikes": {"type": "integer"},
"nreplies": {"type": "integer"},
"nretweets": {"type": "integer"},
"is_quote_status": {"type": "long"},
"quote_id": {"type": "long"},
"quote_id_str": {"type": "text"},
"quote_url": {"type": "text"},
"search": {"type": "text"},
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment