-
Notifications
You must be signed in to change notification settings - Fork 2
/
schema.json
137 lines (136 loc) · 4.02 KB
/
schema.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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"add-field-type": [
{
"name":"basicTextField",
"class":"solr.TextField",
"indexAnalyzer":{
"tokenizer":{
"class":"solr.StandardTokenizerFactory"
},
"filters":[
{"class":"solr.ASCIIFoldingFilterFactory", "preserveOriginal":true},
{"class":"solr.LowerCaseFilterFactory"}
]
},
"queryAnalyzer":{
"tokenizer":{
"class":"solr.StandardTokenizerFactory"
},
"filters":[
{"class":"solr.ASCIIFoldingFilterFactory", "preserveOriginal":true},
{"class":"solr.LowerCaseFilterFactory"}
]
}
},
{
"name":"longTextField",
"class":"solr.TextField",
"indexAnalyzer":{
"tokenizer":{
"class":"solr.StandardTokenizerFactory"
},
"filters":[
{"class":"solr.ASCIIFoldingFilterFactory", "preserveOriginal":true},
{"class":"solr.LowerCaseFilterFactory"},
{"class":"solr.EnglishPossessiveFilterFactory"},
{"class":"solr.SnowballPorterFilterFactory"}
]
},
"queryAnalyzer":{
"tokenizer":{
"class":"solr.StandardTokenizerFactory"
},
"filters":[
{"class":"solr.ASCIIFoldingFilterFactory", "preserveOriginal":true},
{"class":"solr.LowerCaseFilterFactory"},
{"class":"solr.EnglishPossessiveFilterFactory"},
{"class":"solr.StopFilterFactory", "words":"stopwords.txt", "ignoreCase": true},
{"class":"solr.SynonymGraphFilterFactory", "synonyms":"synonyms.txt", "ignoreCase": true, "expand": true},
{"class":"solr.SnowballPorterFilterFactory"}
]
}
},
{
"name": "floatValue",
"class": "solr.FloatPointField"
},
{
"name": "intValue",
"class": "solr.IntPointField"
},
{
"name": "causeVector",
"class": "solr.DenseVectorField",
"vectorDimension": 384,
"similarityFunction": "cosine",
"knnAlgorithm": "hnsw",
"hnswMaxConnections": 64
}
],
"add-field": [
{
"name": "cause_name",
"type": "basicTextField",
"indexed": true
},
{
"name": "location_name",
"type": "basicTextField",
"indexed": true
},
{
"name": "measure_name",
"type": "basicTextField",
"indexed": false
},
{
"name": "sex_name",
"type": "basicTextField",
"indexed": true
},
{
"name": "age_name",
"type": "basicTextField",
"indexed": true
},
{
"name": "metric_name",
"type": "basicTextField",
"indexed": false
},
{
"name": "year",
"type": "intValue",
"indexed": true
},
{
"name": "description",
"type": "longTextField",
"indexed": true
},
{
"name": "val",
"type": "floatValue",
"indexed": true,
"docValues": true
},
{
"name": "lower",
"type": "floatValue",
"indexed": false,
"docValues": true
},
{
"name": "upper",
"type": "floatValue",
"indexed": false,
"docValues": true
},
{
"name": "vector",
"type": "causeVector",
"indexed": true,
"stored": true
}
]
}