-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex_mapping.txt
41 lines (41 loc) · 1.14 KB
/
index_mapping.txt
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
PUT /urlmetadata/_mapping/urlmetadata
{
"urlmetadata": {
"properties": {
"click": {
"type": "long"
},
"count": {
"type": "long"
},
"keywords": {
"type": "string"
},
"link": {
"type": "string",
"copy_to": [
"link_notanalyised"
]
},
"link_notanalyised": {
"type": "string",
"index": "not_analyzed"
},
"title": {
"type": "string",
"copy_to": [
"title_notanalyised",
"title_afteranalyizers"
]
},
"title_afteranalyizers": {
"type": "string",
"analyzer": "title_analyzer"
},
"title_notanalyised": {
"type": "string",
"index": "not_analyzed"
}
}
}
}