Skip to content

Commit 146843f

Browse files
committed
clean up mappings
Reformat to match output of jq -S --indent 4. Clean up quoting of booleans and numbers. Improve structure of settings.
1 parent 2e041cb commit 146843f

File tree

15 files changed

+990
-987
lines changed

15 files changed

+990
-987
lines changed

es/account/mapping.json

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,52 @@
11
{
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"
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"
1111
},
12-
"token" : {
13-
"ignore_above" : 2048,
14-
"index" : "not_analyzed",
15-
"type" : "string"
12+
"token": {
13+
"ignore_above": 2048,
14+
"index": "not_analyzed",
15+
"type": "string"
1616
}
1717
}
1818
},
19-
"code" : {
20-
"ignore_above" : 2048,
21-
"index" : "not_analyzed",
22-
"type" : "string"
19+
"code": {
20+
"ignore_above": 2048,
21+
"index": "not_analyzed",
22+
"type": "string"
2323
},
24-
"id" : {
25-
"ignore_above" : 2048,
26-
"index" : "not_analyzed",
27-
"type" : "string"
24+
"id": {
25+
"ignore_above": 2048,
26+
"index": "not_analyzed",
27+
"type": "string"
2828
},
29-
"identity" : {
30-
"dynamic" : "false",
31-
"properties" : {
32-
"key" : {
33-
"ignore_above" : 2048,
34-
"index" : "not_analyzed",
35-
"type" : "string"
29+
"identity": {
30+
"dynamic": false,
31+
"properties": {
32+
"key": {
33+
"ignore_above": 2048,
34+
"index": "not_analyzed",
35+
"type": "string"
3636
},
37-
"name" : {
38-
"ignore_above" : 2048,
39-
"index" : "not_analyzed",
40-
"type" : "string"
37+
"name": {
38+
"ignore_above": 2048,
39+
"index": "not_analyzed",
40+
"type": "string"
4141
}
4242
}
4343
},
44-
"looks_human" : {
45-
"type" : "boolean"
44+
"looks_human": {
45+
"type": "boolean"
4646
},
47-
"passed_captcha" : {
48-
"format" : "strict_date_optional_time||epoch_millis",
49-
"type" : "date"
47+
"passed_captcha": {
48+
"format": "strict_date_optional_time||epoch_millis",
49+
"type": "date"
5050
}
5151
}
5252
}

es/author/mapping.json

Lines changed: 125 additions & 125 deletions
Original file line numberDiff line numberDiff line change
@@ -1,157 +1,157 @@
11
{
2-
"dynamic" : false,
3-
"properties" : {
4-
"asciiname" : {
5-
"fields" : {
6-
"analyzed" : {
7-
"analyzer" : "standard",
8-
"fielddata" : {
9-
"format" : "disabled"
2+
"dynamic": false,
3+
"properties": {
4+
"asciiname": {
5+
"fields": {
6+
"analyzed": {
7+
"analyzer": "standard",
8+
"fielddata": {
9+
"format": "disabled"
1010
},
11-
"store" : true,
12-
"type" : "string"
11+
"store": true,
12+
"type": "string"
1313
}
1414
},
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"
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"
2626
},
27-
"url" : {
28-
"ignore_above" : 2048,
29-
"index" : "not_analyzed",
30-
"type" : "string"
27+
"url": {
28+
"ignore_above": 2048,
29+
"index": "not_analyzed",
30+
"type": "string"
3131
}
3232
}
3333
},
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"
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"
5151
},
52-
"name" : {
53-
"ignore_above" : 2048,
54-
"index" : "not_analyzed",
55-
"type" : "string"
52+
"name": {
53+
"ignore_above": 2048,
54+
"index": "not_analyzed",
55+
"type": "string"
5656
}
5757
}
5858
},
59-
"email" : {
60-
"ignore_above" : 2048,
61-
"index" : "not_analyzed",
62-
"type" : "string"
59+
"email": {
60+
"ignore_above": 2048,
61+
"index": "not_analyzed",
62+
"type": "string"
6363
},
64-
"gravatar_url" : {
65-
"ignore_above" : 2048,
66-
"index" : "not_analyzed",
67-
"type" : "string"
64+
"gravatar_url": {
65+
"ignore_above": 2048,
66+
"index": "not_analyzed",
67+
"type": "string"
6868
},
69-
"is_pause_custodial_account" : {
70-
"type" : "boolean"
69+
"is_pause_custodial_account": {
70+
"type": "boolean"
7171
},
72-
"location" : {
73-
"type" : "geo_point"
72+
"location": {
73+
"type": "geo_point"
7474
},
75-
"name" : {
76-
"fields" : {
77-
"analyzed" : {
78-
"analyzer" : "standard",
79-
"fielddata" : {
80-
"format" : "disabled"
75+
"name": {
76+
"fields": {
77+
"analyzed": {
78+
"analyzer": "standard",
79+
"fielddata": {
80+
"format": "disabled"
8181
},
82-
"store" : true,
83-
"type" : "string"
82+
"store": true,
83+
"type": "string"
8484
}
8585
},
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"
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"
102102
},
103-
"url" : {
104-
"ignore_above" : 2048,
105-
"index" : "not_analyzed",
106-
"type" : "string"
103+
"url": {
104+
"ignore_above": 2048,
105+
"index": "not_analyzed",
106+
"type": "string"
107107
}
108108
}
109109
},
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"
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"
120120
},
121-
"store" : true,
122-
"type" : "string"
121+
"store": true,
122+
"type": "string"
123123
}
124124
},
125-
"ignore_above" : 2048,
126-
"index" : "not_analyzed",
127-
"type" : "string"
125+
"ignore_above": 2048,
126+
"index": "not_analyzed",
127+
"type": "string"
128128
},
129-
"name" : {
130-
"ignore_above" : 2048,
131-
"index" : "not_analyzed",
132-
"type" : "string"
129+
"name": {
130+
"ignore_above": 2048,
131+
"index": "not_analyzed",
132+
"type": "string"
133133
}
134134
},
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"
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"
155155
}
156156
}
157157
}

0 commit comments

Comments
 (0)