forked from mosuka/bayard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeta.json
105 lines (105 loc) · 2.48 KB
/
meta.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"schema": [
{
"name": "url",
"type": "text",
"options": {
"indexing": {
"record": "freq",
"fieldnorms": false,
"tokenizer": "raw"
},
"stored": true
}
},
{
"name": "name",
"type": "text",
"options": {
"indexing": {
"record": "position",
"fieldnorms": false,
"tokenizer": "default"
},
"stored": true
}
},
{
"name": "description",
"type": "text",
"options": {
"indexing": {
"record": "position",
"fieldnorms": false,
"tokenizer": "default"
},
"stored": true
}
},
{
"name": "popularity",
"type": "u64",
"options": {
"indexed": true,
"fast": "single",
"stored": true
}
},
{
"name": "category",
"type": "facet",
"options": {
"stored": true
}
},
{
"name": "publish_date",
"type": "date",
"options": {
"indexed": true,
"fast": "single",
"stored": true
}
}
],
"analyzers": {
"default": {
"tokenizer": {
"name": "simple"
},
"filters": [
{
"name": "remove_long",
"args": {
"length_limit": 40
}
},
{
"name": "ascii_folding"
},
{
"name": "lower_case"
}
]
},
"raw": {
"tokenizer": {
"name": "raw"
}
},
"whitespace": {
"tokenizer": {
"name": "whitespace"
}
}
},
"writer_threads": 1,
"writer_mem_size": 500000000,
"index_settings": {
"sort_by_field": null,
"docstore_compression": "none",
"docstore_blocksize": 16384
},
"num_replicas": 2,
"num_shards": 2
}