Skip to content

Commit d37517d

Browse files
committed
Add mapping configuration
1 parent 1676d76 commit d37517d

27 files changed

+1517
-0
lines changed

conf/es/account/mapping.json

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"dynamic": false,
3+
"properties": {
4+
"access_token": {
5+
"dynamic": true,
6+
"properties": {
7+
"client": {
8+
"ignore_above": 2048,
9+
"index": "not_analyzed",
10+
"type": "string"
11+
},
12+
"token": {
13+
"ignore_above": 2048,
14+
"index": "not_analyzed",
15+
"type": "string"
16+
}
17+
}
18+
},
19+
"code": {
20+
"ignore_above": 2048,
21+
"index": "not_analyzed",
22+
"type": "string"
23+
},
24+
"id": {
25+
"ignore_above": 2048,
26+
"index": "not_analyzed",
27+
"type": "string"
28+
},
29+
"identity": {
30+
"dynamic": false,
31+
"properties": {
32+
"key": {
33+
"ignore_above": 2048,
34+
"index": "not_analyzed",
35+
"type": "string"
36+
},
37+
"name": {
38+
"ignore_above": 2048,
39+
"index": "not_analyzed",
40+
"type": "string"
41+
}
42+
}
43+
}
44+
}
45+
}

conf/es/account/settings.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"mapper": {
3+
"dynamic": "false"
4+
},
5+
"number_of_replicas": 1,
6+
"number_of_shards": 1,
7+
"refresh_interval": "1s"
8+
}

conf/es/author/mapping.json

+157
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,157 @@
1+
{
2+
"dynamic": false,
3+
"properties": {
4+
"asciiname": {
5+
"fields": {
6+
"analyzed": {
7+
"analyzer": "standard",
8+
"fielddata": {
9+
"format": "disabled"
10+
},
11+
"store": true,
12+
"type": "string"
13+
}
14+
},
15+
"ignore_above": 2048,
16+
"index": "not_analyzed",
17+
"type": "string"
18+
},
19+
"blog": {
20+
"dynamic": true,
21+
"properties": {
22+
"feed": {
23+
"ignore_above": 2048,
24+
"index": "not_analyzed",
25+
"type": "string"
26+
},
27+
"url": {
28+
"ignore_above": 2048,
29+
"index": "not_analyzed",
30+
"type": "string"
31+
}
32+
}
33+
},
34+
"city": {
35+
"ignore_above": 2048,
36+
"index": "not_analyzed",
37+
"type": "string"
38+
},
39+
"country": {
40+
"ignore_above": 2048,
41+
"index": "not_analyzed",
42+
"type": "string"
43+
},
44+
"donation": {
45+
"dynamic": true,
46+
"properties": {
47+
"id": {
48+
"ignore_above": 2048,
49+
"index": "not_analyzed",
50+
"type": "string"
51+
},
52+
"name": {
53+
"ignore_above": 2048,
54+
"index": "not_analyzed",
55+
"type": "string"
56+
}
57+
}
58+
},
59+
"email": {
60+
"ignore_above": 2048,
61+
"index": "not_analyzed",
62+
"type": "string"
63+
},
64+
"gravatar_url": {
65+
"ignore_above": 2048,
66+
"index": "not_analyzed",
67+
"type": "string"
68+
},
69+
"is_pause_custodial_account": {
70+
"type": "boolean"
71+
},
72+
"location": {
73+
"type": "geo_point"
74+
},
75+
"name": {
76+
"fields": {
77+
"analyzed": {
78+
"analyzer": "standard",
79+
"fielddata": {
80+
"format": "disabled"
81+
},
82+
"store": true,
83+
"type": "string"
84+
}
85+
},
86+
"ignore_above": 2048,
87+
"index": "not_analyzed",
88+
"type": "string"
89+
},
90+
"pauseid": {
91+
"ignore_above": 2048,
92+
"index": "not_analyzed",
93+
"type": "string"
94+
},
95+
"perlmongers": {
96+
"dynamic": true,
97+
"properties": {
98+
"name": {
99+
"ignore_above": 2048,
100+
"index": "not_analyzed",
101+
"type": "string"
102+
},
103+
"url": {
104+
"ignore_above": 2048,
105+
"index": "not_analyzed",
106+
"type": "string"
107+
}
108+
}
109+
},
110+
"profile": {
111+
"dynamic": false,
112+
"include_in_root": true,
113+
"properties": {
114+
"id": {
115+
"fields": {
116+
"analyzed": {
117+
"analyzer": "simple",
118+
"fielddata": {
119+
"format": "disabled"
120+
},
121+
"store": true,
122+
"type": "string"
123+
}
124+
},
125+
"ignore_above": 2048,
126+
"index": "not_analyzed",
127+
"type": "string"
128+
},
129+
"name": {
130+
"ignore_above": 2048,
131+
"index": "not_analyzed",
132+
"type": "string"
133+
}
134+
},
135+
"type": "nested"
136+
},
137+
"region": {
138+
"ignore_above": 2048,
139+
"index": "not_analyzed",
140+
"type": "string"
141+
},
142+
"updated": {
143+
"format": "strict_date_optional_time||epoch_millis",
144+
"type": "date"
145+
},
146+
"user": {
147+
"ignore_above": 2048,
148+
"index": "not_analyzed",
149+
"type": "string"
150+
},
151+
"website": {
152+
"ignore_above": 2048,
153+
"index": "not_analyzed",
154+
"type": "string"
155+
}
156+
}
157+
}

conf/es/author/settings.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"mapper": {
3+
"dynamic": "false"
4+
},
5+
"number_of_replicas": 1,
6+
"number_of_shards": 1,
7+
"refresh_interval": "1s"
8+
}

conf/es/contributor/mapping.json

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"dynamic": false,
3+
"properties": {
4+
"distribution": {
5+
"ignore_above": 2048,
6+
"index": "not_analyzed",
7+
"type": "string"
8+
},
9+
"pauseid": {
10+
"ignore_above": 2048,
11+
"index": "not_analyzed",
12+
"type": "string"
13+
},
14+
"name": {
15+
"ignore_above": 2048,
16+
"index": "not_analyzed",
17+
"type": "string"
18+
},
19+
"email": {
20+
"ignore_above": 2048,
21+
"index": "not_analyzed",
22+
"type": "string"
23+
},
24+
"release_author": {
25+
"ignore_above": 2048,
26+
"index": "not_analyzed",
27+
"type": "string"
28+
},
29+
"release_name": {
30+
"ignore_above": 2048,
31+
"index": "not_analyzed",
32+
"type": "string"
33+
}
34+
}
35+
}

conf/es/contributor/settings.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"mapper": {
3+
"dynamic": "false"
4+
},
5+
"number_of_replicas": 1,
6+
"number_of_shards": 1,
7+
"refresh_interval": "1s"
8+
}

conf/es/cover/mapping.json

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"dynamic": false,
3+
"properties": {
4+
"criteria": {
5+
"dynamic": true,
6+
"properties": {
7+
"branch": {
8+
"type": "float"
9+
},
10+
"condition": {
11+
"type": "float"
12+
},
13+
"statement": {
14+
"type": "float"
15+
},
16+
"subroutine": {
17+
"type": "float"
18+
},
19+
"total": {
20+
"type": "float"
21+
}
22+
}
23+
},
24+
"distribution": {
25+
"ignore_above": 2048,
26+
"index": "not_analyzed",
27+
"type": "string"
28+
},
29+
"release": {
30+
"ignore_above": 2048,
31+
"index": "not_analyzed",
32+
"type": "string"
33+
},
34+
"version": {
35+
"ignore_above": 2048,
36+
"index": "not_analyzed",
37+
"type": "string"
38+
}
39+
}
40+
}

conf/es/cover/settings.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"mapper": {
3+
"dynamic": "false"
4+
},
5+
"number_of_replicas": 1,
6+
"number_of_shards": 1,
7+
"refresh_interval": "1s"
8+
}

conf/es/cve/mapping.json

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"dynamic": false,
3+
"properties": {
4+
"affected_versions": {
5+
"type": "string"
6+
},
7+
"cpansa_id": {
8+
"ignore_above": 2048,
9+
"index": "not_analyzed",
10+
"type": "string"
11+
},
12+
"cves": {
13+
"type": "string"
14+
},
15+
"description": {
16+
"type": "string"
17+
},
18+
"distribution": {
19+
"index": "not_analyzed",
20+
"type": "string"
21+
},
22+
"references": {
23+
"type": "string"
24+
},
25+
"releases": {
26+
"index": "not_analyzed",
27+
"type": "string"
28+
},
29+
"reported": {
30+
"format": "strict_date_optional_time||epoch_millis",
31+
"type": "date"
32+
},
33+
"severity": {
34+
"type": "string"
35+
},
36+
"versions": {
37+
"index": "not_analyzed",
38+
"type": "string"
39+
}
40+
}
41+
}

conf/es/cve/settings.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"mapper": {
3+
"dynamic": "false"
4+
},
5+
"number_of_replicas": 1,
6+
"number_of_shards": 1,
7+
"refresh_interval": "1s"
8+
}

0 commit comments

Comments
 (0)