forked from s1monw/hammertime
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtwitter_mapping.json
More file actions
76 lines (76 loc) · 2.5 KB
/
Copy pathtwitter_mapping.json
File metadata and controls
76 lines (76 loc) · 2.5 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"settings": {
"index": {
"number_of_shards": 3,
"number_of_replicas": 1,
"analysis": {
"analyzer": {
"fulltext_analyzer": {
"type": "custom",
"tokenizer": "whitespace",
"filter": [
"lowercase",
"bigram"
]
}
},
"filter": {
"bigram": {
"type": "shingle",
"max_shingle_size": 2,
"min_shingle_size": 2,
"output_unigrams": true,
"output_unigrams_if_no_shingles": true,
"token_separator": " "
}
}
}
}
},
"mappings": {
"status": {
"properties": {
"place": {
"dynamic": "true",
"properties": {
"country": {
"type": "multi_field",
"fields": {
"country": {
"type": "string",
"index": "analyzed"
},
"keyword": {
"type": "string",
"index": "not_analyzed"
}
}
}
}
},
"text": {
"type": "string",
"index_analyzer": "fulltext_analyzer"
},
"user": {
"dynamic": "true",
"properties": {
"name": {
"type": "multi_field",
"fields": {
"name": {
"type": "string",
"index": "analyzed"
},
"keyword": {
"type": "string",
"index": "not_analyzed"
}
}
}
}
}
}
}
}
}