-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.demo.json
84 lines (84 loc) · 2.11 KB
/
config.demo.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"search": {
"host": "localhost:9200"
},
"index": "media-demo",
"media": {
"directories": [
"/Users/jurriendokter/Development/Own/elastic-library/demo-content"
]
},
"handlers": ["api", "booru", "images", "video"],
"parsers": {
"checksum": null,
"path": {
"ignore": [
"Users", "jurriendokter", "Pictures", "SFW", "demo-content",
"Development", "Own", "elastic-library"
]
},
"stats": null,
"number": null,
"title": null,
"exif": null,
"deviant-art": null,
"fur-affinity": null,
"hentai-foundry": null,
"image": null,
"video": null,
"video-thumb": null
},
"settings": {
"analysis": {
"normalizer": {
"keyword_normalizer": {
"type": "custom",
"char_filter": [],
"filter": ["lowercase", "asciifolding"]
}
},
"filter": {
"keyword_synonym_filter": {
"type": "synonym",
"synonyms": [
"wallhaven,wallpaper,wallpapers => wallpaper"
]
}
},
"analyzer": {
"keyword_synonym_analyzer": {
"tokenizer": "standard",
"filter": [
"lowercase",
"keyword_synonym_filter"
]
}
}
}
},
"mapping": [
{
"keywords": {
"type": "keyword",
"eager_global_ordinals": true,
"normalizer": "keyword_normalizer"
}
},
{
"numbers": {
"type": "keyword"
}
},
{
"checksum": {
"type": "keyword"
}
},
{
"filedata": {
"type": "binary",
"store": true
}
}
]
}