Skip to content

Commit 9859544

Browse files
committed
Remove non text fields from _all ES mapping
1 parent c6f0c2a commit 9859544

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

plugins/arElasticSearchPlugin/config/mapping.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ mapping:
3232
nested_only: true
3333
dynamic: strict
3434
properties:
35-
contact_person: { type: keyword, copy_to: _all }
35+
contact_person: { type: keyword }
3636
street_address: { type: text, index: false }
3737
postal_code: { type: text }
3838
country_code: { type: keyword }
39-
location: { type: geo_point, copy_to: _all }
39+
location: { type: geo_point }
4040

4141
other_name:
4242
_attributes:
@@ -63,8 +63,8 @@ mapping:
6363
properties:
6464
start_date: { type: date }
6565
end_date: { type: date }
66-
start_date_string: { type: keyword, copy_to: _all }
67-
end_date_string: { type: keyword, copy_to: _all }
66+
start_date_string: { type: keyword }
67+
end_date_string: { type: keyword }
6868
type_id: { type: integer }
6969
actor_id: { type: integer }
7070

@@ -92,7 +92,7 @@ mapping:
9292
dynamic: strict
9393
properties:
9494
date: { type: date }
95-
date_string: { type: keyword, copy_to: _all }
95+
date_string: { type: keyword }
9696

9797
donor:
9898
_attributes:
@@ -102,7 +102,7 @@ mapping:
102102
_foreign_types: { contact_informations: contact_information }
103103
dynamic: strict
104104
properties:
105-
slug: { type: keyword, copy_to: _all }
105+
slug: { type: keyword }
106106

107107
basis_right:
108108
_attributes:
@@ -350,7 +350,7 @@ mapping:
350350
_foreign_types: { use_for: other_name, scope_notes: note }
351351
dynamic: strict
352352
properties:
353-
slug: { type: keyword, copy_to: _all }
353+
slug: { type: keyword }
354354
taxonomy_id: { type: integer }
355355
is_protected: { type: boolean }
356356
number_of_descendants: { type: integer }
@@ -378,13 +378,13 @@ mapping:
378378
id: { type: integer }
379379
dynamic: strict
380380
properties:
381-
slug: { type: keyword, copy_to: _all }
381+
slug: { type: keyword }
382382
description_identifier:
383383
type: text
384384
fields:
385385
untouched:
386386
type: keyword
387-
corporate_body_identifiers: { type: keyword, copy_to: _all }
387+
corporate_body_identifiers: { type: keyword }
388388
entity_type_id: { type: integer }
389389
maintaining_repository_id: { type: integer }
390390
direct_subjects: { type: integer }
@@ -396,7 +396,7 @@ mapping:
396396
properties:
397397
media_type_id: { type: integer }
398398
usage_id: { type: integer }
399-
thumbnail_path: { type: keyword, copy_to: _all }
399+
thumbnail_path: { type: keyword }
400400
filename: { type: text, copy_to: _all }
401401
digital_object_alt_text: { type: text, copy_to: _all }
402402

@@ -422,7 +422,7 @@ mapping:
422422
donors: donor
423423
dynamic: strict
424424
properties:
425-
slug: { type: keyword, copy_to: _all }
425+
slug: { type: keyword }
426426
identifier:
427427
type: text
428428
fields:
@@ -444,7 +444,7 @@ mapping:
444444
parallel_names: other_name
445445
dynamic: strict
446446
properties:
447-
slug: { type: keyword, copy_to: _all }
447+
slug: { type: keyword }
448448
identifier:
449449
type: text
450450
fields:
@@ -465,7 +465,7 @@ mapping:
465465
parallel_names: other_name
466466
dynamic: strict
467467
properties:
468-
slug: { type: keyword, copy_to: _all }
468+
slug: { type: keyword }
469469
description_status_id: { type: integer }
470470
description_detail_id: { type: integer }
471471
description_identifier:
@@ -513,15 +513,15 @@ mapping:
513513
dynamic: strict
514514
properties:
515515
id: { type: integer }
516-
slug: { type: keyword, copy_to: _all }
516+
slug: { type: keyword }
517517
repository:
518518
_i18nFields: [authorizedFormOfName]
519519
_rawFields: [authorizedFormOfName]
520520
dynamic: strict
521521
properties:
522522
id: { type: integer }
523-
slug: { type: keyword, copy_to: _all }
524-
identifier: { type: keyword, copy_to: _all }
523+
slug: { type: keyword }
524+
identifier: { type: keyword }
525525
names:
526526
_i18nFields: [authorizedFormOfName]
527527
dynamic: strict
@@ -580,13 +580,13 @@ mapping:
580580
publication_notes: note
581581
dynamic: strict
582582
properties:
583-
slug: { type: keyword, copy_to: _all }
583+
slug: { type: keyword }
584584
identifier:
585585
type: text
586586
fields:
587587
untouched:
588588
type: keyword
589-
reference_code_without_country_and_repo: { type: keyword, copy_to: _all }
589+
reference_code_without_country_and_repo: { type: keyword }
590590
level_of_description_id: { type: integer }
591591
lft: { type: integer }
592592
publication_status_id: { type: integer }
@@ -610,7 +610,7 @@ mapping:
610610
properties:
611611
media_type_id: { type: integer }
612612
usage_id: { type: integer }
613-
thumbnail_path: { type: keyword, copy_to: _all }
613+
thumbnail_path: { type: keyword }
614614
filename: { type: text, copy_to: _all }
615615
digital_object_alt_text: { type: text, copy_to: _all }
616616
alternative_identifiers:

0 commit comments

Comments
 (0)