Skip to content

Commit

Permalink
Remove inherited creator history in search (#1598)
Browse files Browse the repository at this point in the history
Remove ES mapping for inherited creator history to make search results
less noisy.
  • Loading branch information
anvit committed Sep 13, 2023
1 parent c088704 commit 6f84a50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions plugins/arElasticSearchPlugin/config/mapping.yml
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,6 @@ mapping:
- creators.parallelNames.name
- creators.standardizedNames.name
- inheritedCreators.authorizedFormOfName
- inheritedCreators.history
- inheritedCreators.otherNames.name
- inheritedCreators.parallelNames.name
- inheritedCreators.standardizedNames.name
Expand Down Expand Up @@ -542,7 +541,7 @@ mapping:
parallel_names: other_name
standardized_names: other_name
inherited_creators:
_i18nFields: [authorizedFormOfName, history]
_i18nFields: [authorizedFormOfName]
dynamic: strict
properties:
id: { type: integer }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ public function serialize()
'i18n' => arElasticSearchModelBase::serializeI18ns(
$node->id,
['QubitActor'],
['fields' => ['authorized_form_of_name', 'history']]
['fields' => ['authorized_form_of_name']]
),
];

Expand Down

0 comments on commit 6f84a50

Please sign in to comment.