/
jaysoo.json
52 lines (52 loc) · 1.15 KB
/
jaysoo.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
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"settings": {
"analysis": {
"analyzer": {
"html_analyzer":{
"type":"custom",
"tokenizer":"standard",
"filter":["standard", "lowercase", "stop", "snowball"],
"char_filter": "html_strip"
}
}
}
},
"mappings": {
"page": {
"properties": {
"title": {
"type": "string",
"search_analyzer": "keyword",
"index_analyzer": "keyword",
"boost": 1.5
},
"url": {
"type": "string",
"index": "not_analyzed"
},
"text": {
"type": "string",
"analyzer": "html_analyzer",
"search_analyzer": "html_analyzer",
"term_vector": "with_positions_offsets",
"store": "yes"
},
"tags": {
"type": "string",
"search_analyzer": "keyword",
"index_analyzer": "keyword",
"boost": 1.2
},
"date": {
"type": "date",
"index": "not_analyzed",
"format": "yyyy-MM-dd HH:mm'Z'"
},
"category": {
"type": "string",
"index": "not_analyzed"
}
}
}
}
}