-
Notifications
You must be signed in to change notification settings - Fork 0
/
esTweetIndexMapping.json
39 lines (39 loc) · 1.15 KB
/
esTweetIndexMapping.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"dynamic": "strict",
"mappings": {
"properties": {
"id": { "type": "text" },
"tweetContent": { "type": "text" },
"location": { "type": "geo_point" },
"retweetCount": { "type": "integer" },
"favoriteCount": { "type": "integer" },
"createdAt": { "type": "date", "format": "EEE LLL dd HH:mm:ss Z yyyy" },
"author": {
"properties": {
"userId": { "type": "unsigned_long" },
"userScreenName": { "type": "text" },
"userName": { "type": "text" },
"userDescription": { "type": "text" },
"followersCount": { "type": "integer" },
"friendsCount": { "type": "integer" },
"statusesCount": { "type": "integer" }
}
},
"country": {
"properties": {
"countryCode": { "type": "text" },
"countryName": { "type": "text" }
}
},
"parentTweetId": { "type": "text" },
"mentions": {
"properties": {
"userId": { "type": "unsigned_long" },
"screenName": { "type": "text" },
"name": { "type": "text" }
}
},
"hashtags": { "type": "text" }
}
}
}