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

New index-tweets

parent fc61dfdd
...@@ -4,26 +4,38 @@ PUT twinttweets ...@@ -4,26 +4,38 @@ PUT twinttweets
"items": { "items": {
"properties": { "properties": {
"id": {"type": "long"}, "id": {"type": "long"},
"conversation_id": {"type": "long"},
"created_at": {"type": "long"},
"date": {"type": "date", "format": "yyyy-MM-dd HH:mm:ss"}, "date": {"type": "date", "format": "yyyy-MM-dd HH:mm:ss"},
"timezone": {"type": "text"}, "timezone": {"type": "keyword"},
"location": {"type": "text"}, "place": {"type": "keyword"},
"hashtags": {"type": "text"}, "location": {"type": "keyword"},
"tweet": {"type": "text"}, "tweet": {"type": "text"},
"replies": {"type": "boolean"}, "hashtags": {"type": "keyword"},
"retweets": {"type": "boolean"}, "user_id": {"type": "long"},
"likes": {"type": "boolean"}, "user_id_str": {"type": "keyword"},
"user_id": {"type": "keyword"},
"username": {"type": "keyword"}, "username": {"type": "keyword"},
"name": {"type": "text"},
"profile_image_url": {"type": "text"},
"day": {"type": "integer"}, "day": {"type": "integer"},
"hour": {"type": "integer"}, "hour": {"type": "integer"},
"link": {"type": "text"}, "link": {"type": "text"},
"gif_url": {"type": "text"},
"gif_thumb": {"type": "text"},
"video_url": {"type": "text"},
"video_thumb": {"type": "text"},
"is_reply_to": {"type": "long"},
"has_parent_tweet": {"type": "long"},
"retweet": {"type": "text"}, "retweet": {"type": "text"},
"user_rt": {"type": "text"},
"essid": {"type": "keyword"}, "essid": {"type": "keyword"},
"nlikes": {"type": "integer"}, "nlikes": {"type": "integer"},
"nreplies": {"type": "integer"}, "nreplies": {"type": "integer"},
"nretweets": {"type": "integer"}, "nretweets": {"type": "integer"},
"search": {"type": "text"} "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