file_v6.0.0.json 7.98 KB
Newer Older
Carina Antunes's avatar
Carina Antunes committed
1
2
3
4
{
  "settings": {
    "index.percolator.map_unmapped_fields_as_text": true,
    "index.mapping.total_fields.limit": 500,
5
6
7
8
    "index.query.default_field": [
      "_data.*"
    ],
    "analysis": {
9
10
11
12
13
14
15
16
17
      "analyzer": {
        "case_accent_analyzer": {
          "tokenizer": "standard",
          "filter": [
            "lowercase",
            "asciifolding"
          ]
        }
      },
18
      "normalizer": {
19
        "case_accent_normalizer": {
20
21
          "type": "custom",
          "filter": [
22
23
            "lowercase",
            "asciifolding"
24
25
26
27
          ]
        }
      }
    }
Carina Antunes's avatar
Carina Antunes committed
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
  },
  "mappings": {
    "numeric_detection": true,
    "properties": {
      "_access": {
        "type": "object",
        "properties": {
          "owner": {
            "type": "keyword"
          },
          "read": {
            "type": "keyword"
          },
          "update": {
            "type": "keyword"
          },
          "delete": {
            "type": "keyword"
          }
        }
      },
      "_data": {
        "type": "object",
        "properties": {
52
53
          "content": {
            "type": "text",
54
            "analyzer": "case_accent_analyzer"
Carina Antunes's avatar
Carina Antunes committed
55
56
57
          },
          "file_name": {
            "type": "text",
58
59
            "analyzer": "case_accent_analyzer",
            "boost": 1.5,
Carina Antunes's avatar
Carina Antunes committed
60
61
62
63
            "fields": {
              "english": {
                "type": "text",
                "analyzer": "english",
64
                "boost": 1.5
Carina Antunes's avatar
Carina Antunes committed
65
66
67
68
              },
              "french": {
                "type": "text",
                "analyzer": "french",
69
                "boost": 1.5
Carina Antunes's avatar
Carina Antunes committed
70
71
72
73
74
              }
            }
          },
          "document_id": {
            "type": "keyword",
75
76
            "normalizer": "case_accent_normalizer",
            "boost": 1.9
Carina Antunes's avatar
Carina Antunes committed
77
78
79
          },
          "document_id_version": {
            "type": "keyword",
80
81
            "normalizer": "case_accent_normalizer",
            "boost": 1.9
Carina Antunes's avatar
Carina Antunes committed
82
83
84
          },
          "cern_id": {
            "type": "keyword",
85
86
            "normalizer": "case_accent_normalizer",
            "boost": 1.9
Carina Antunes's avatar
Carina Antunes committed
87
88
89
          },
          "cern_id_version": {
            "type": "keyword",
90
91
            "normalizer": "case_accent_normalizer",
            "boost": 1.9
Carina Antunes's avatar
Carina Antunes committed
92
93
94
          },
          "external_reference": {
            "type": "text",
95
96
            "boost": 1.4,
            "analyzer": "case_accent_analyzer",
Carina Antunes's avatar
Carina Antunes committed
97
98
99
            "fields": {
              "exact_match": {
                "type": "keyword",
100
101
                "normalizer": "case_accent_normalizer",
                "boost": 1.4
Carina Antunes's avatar
Carina Antunes committed
102
103
104
105
106
              }
            }
          },
          "version": {
            "type": "keyword",
107
            "normalizer": "case_accent_normalizer"
Carina Antunes's avatar
Carina Antunes committed
108
109
110
          },
          "title": {
            "type": "text",
111
112
            "analyzer": "case_accent_analyzer",
            "boost": 1.4,
Carina Antunes's avatar
Carina Antunes committed
113
114
115
            "fields": {
              "english": {
                "type": "text",
116
                "boost": 1.4,
Carina Antunes's avatar
Carina Antunes committed
117
118
119
120
                "analyzer": "english"
              },
              "french": {
                "type": "text",
121
                "boost": 1.4,
Carina Antunes's avatar
Carina Antunes committed
122
123
124
125
                "analyzer": "french"
              },
              "exact_match": {
                "type": "keyword",
126
127
                "normalizer": "case_accent_normalizer",
                "boost": 1.4
Carina Antunes's avatar
Carina Antunes committed
128
129
130
131
132
              }
            }
          },
          "description": {
            "type": "text",
133
134
            "analyzer": "case_accent_analyzer",
            "boost": 1.2,
Carina Antunes's avatar
Carina Antunes committed
135
136
137
            "fields": {
              "english": {
                "type": "text",
138
                "boost": 1.2,
Carina Antunes's avatar
Carina Antunes committed
139
140
141
142
                "analyzer": "english"
              },
              "french": {
                "type": "text",
143
                "boost": 1.2,
Carina Antunes's avatar
Carina Antunes committed
144
145
146
147
148
149
150
151
152
                "analyzer": "french"
              }
            }
          },
          "author": {
            "type": "object",
            "properties": {
              "full_name": {
                "type": "text",
153
154
                "analyzer": "case_accent_analyzer",
                "boost": 1.15
Carina Antunes's avatar
Carina Antunes committed
155
156
157
              },
              "email": {
                "type": "text",
158
159
                "analyzer": "case_accent_analyzer",
                "boost": 1.15
Carina Antunes's avatar
Carina Antunes committed
160
161
162
163
164
              }
            }
          },
          "keywords": {
            "type": "text",
165
166
            "analyzer": "case_accent_analyzer",
            "boost": 1.3,
Carina Antunes's avatar
Carina Antunes committed
167
168
169
170
            "fields": {
              "english": {
                "type": "text",
                "analyzer": "english",
171
                "boost": 1.3
Carina Antunes's avatar
Carina Antunes committed
172
173
174
175
              },
              "french": {
                "type": "text",
                "analyzer": "french",
176
                "boost": 1.3
Carina Antunes's avatar
Carina Antunes committed
177
178
179
              },
              "exact_match": {
                "type": "keyword",
180
181
                "boost": 1.3,
                "normalizer": "case_accent_normalizer"
Carina Antunes's avatar
Carina Antunes committed
182
183
184
185
186
              }
            }
          },
          "equipment_code": {
            "type": "keyword",
187
188
            "normalizer": "case_accent_normalizer",
            "boost": 1.3
Carina Antunes's avatar
Carina Antunes committed
189
190
191
192
          }
        }
      },
      "file_cid": {
193
        "type": "keyword",
194
        "normalizer": "case_accent_normalizer"
Carina Antunes's avatar
Carina Antunes committed
195
196
      },
      "cid": {
197
        "type": "keyword",
198
        "normalizer": "case_accent_normalizer"
Carina Antunes's avatar
Carina Antunes committed
199
200
      },
      "owner": {
201
        "type": "keyword",
202
        "normalizer": "case_accent_normalizer"
Carina Antunes's avatar
Carina Antunes committed
203
204
      },
      "group": {
205
        "type": "keyword",
206
        "normalizer": "case_accent_normalizer"
Carina Antunes's avatar
Carina Antunes committed
207
208
      },
      "object_type": {
209
        "type": "keyword",
210
        "normalizer": "case_accent_normalizer"
Carina Antunes's avatar
Carina Antunes committed
211
212
213
214
215
      },
      "parents": {
        "type": "object",
        "properties": {
          "parent_type": {
216
            "type": "keyword",
217
            "normalizer": "case_accent_normalizer"
Carina Antunes's avatar
Carina Antunes committed
218
219
          },
          "parent_id": {
220
            "type": "keyword",
221
            "normalizer": "case_accent_normalizer"
Carina Antunes's avatar
Carina Antunes committed
222
223
224
225
          }
        }
      },
      "status": {
226
        "type": "keyword",
227
        "normalizer": "case_accent_normalizer"
Carina Antunes's avatar
Carina Antunes committed
228
229
      },
      "latest_version": {
230
        "type": "keyword",
231
        "normalizer": "case_accent_normalizer"
Carina Antunes's avatar
Carina Antunes committed
232
233
      },
      "obsolete": {
234
        "type": "keyword",
235
        "normalizer": "case_accent_normalizer"
Carina Antunes's avatar
Carina Antunes committed
236
237
238
239
240
      },
      "context": {
        "type": "object",
        "properties": {
          "name": {
241
            "type": "keyword",
242
            "normalizer": "case_accent_normalizer"
Carina Antunes's avatar
Carina Antunes committed
243
244
          },
          "context_id": {
245
            "type": "keyword",
246
            "normalizer": "case_accent_normalizer"
Carina Antunes's avatar
Carina Antunes committed
247
248
249
250
          }
        }
      },
      "document_type": {
251
        "type": "keyword",
252
        "normalizer": "case_accent_normalizer"
Carina Antunes's avatar
Carina Antunes committed
253
254
      },
      "release_procedure": {
255
        "type": "keyword",
256
        "normalizer": "case_accent_normalizer"
Carina Antunes's avatar
Carina Antunes committed
257
258
259
260
      },
      "object_properties": {
        "properties": {
          "name": {
261
            "type": "keyword",
262
            "normalizer": "case_accent_normalizer"
Carina Antunes's avatar
Carina Antunes committed
263
264
265
          },
          "value": {
            "type": "text",
266
            "analyzer": "case_accent_analyzer",
Carina Antunes's avatar
Carina Antunes committed
267
268
269
270
271
272
273
274
275
276
            "fields": {
              "english": {
                "type": "text",
                "analyzer": "english"
              },
              "french": {
                "type": "text",
                "analyzer": "french"
              },
              "exact_match": {
277
                "type": "keyword",
278
                "normalizer": "case_accent_normalizer"
Carina Antunes's avatar
Carina Antunes committed
279
280
281
282
283
284
              }
            }
          }
        }
      },
      "attributes": {
285
        "type": "keyword",
286
        "normalizer": "case_accent_normalizer"
Carina Antunes's avatar
Carina Antunes committed
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
      },
      "creation_date": {
        "type": "date",
        "format": "yyyy-MM-dd'T'HH:mm:ss"
      },
      "modification_date": {
        "type": "date",
        "format": "yyyy-MM-dd'T'HH:mm:ss"
      },
      "_updated": {
        "type": "date"
      },
      "_created": {
        "type": "date"
      },
      "_bucket": {
        "enabled": false
      },
      "_bucket_content": {
        "type": "keyword"
      },
308
      "file": {
Carina Antunes's avatar
Carina Antunes committed
309
310
        "type": "keyword"
      },
311
      "url": {
Carina Antunes's avatar
Carina Antunes committed
312
313
314
315
316
317
318
319
320
321
322
        "type": "keyword"
      },
      "control_number": {
        "type": "keyword"
      },
      "$schema": {
        "enabled": false
      }
    }
  }
}