-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathes_schaufel_index.json
59 lines (59 loc) · 1.23 KB
/
es_schaufel_index.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
{
"settings": {
"number_of_shards": 1,
"number_of_replicas": 0,
"analysis": {
"analyzer": {
"file_path": {
"type": "custom",
"tokenizer": "path_hierarchy",
"filter": [
"lowercase"
]
},
"edge_ngram_analyzer": {
"type": "custom",
"tokenizer": "edge_ngram_tokenizer",
"filter": [
"lowercase"
]
},
"lower_search_analyzer": {
"tokenizer": "standard",
"filter": [
"lowercase"
]
}
},
"tokenizer": {
"edge_ngram_tokenizer": {
"type": "edge_ngram",
"min_gram": 2,
"max_gram": 10,
"token_chars": [
"letter",
"digit"
]
}
}
}
},
"mappings": {
"book": {
"properties": {
"filename": {
"type": "text",
"analyzer": "edge_ngram_analyzer",
"search_analyzer": "lower_search_analyzer"
},
"filetype": {
"type": "text"
},
"filepath": {
"type": "text",
"analyzer": "file_path"
}
}
}
}
}