Skip to content

Commit

Permalink
GDT-211-publishers-mapping
Browse files Browse the repository at this point in the history
Why these changes are being introduced:
* Implement ADR # 3 for timdex-index-manager after transmogrifier has been updated

How this addresses that need:
* Add publishers field to opensearch_mappings.json
* Remove publication_information field

Side effects of this change:
* Reindexing required for new field mapping

Relevant ticket(s):
* https://mitlibraries.atlassian.net/browse/GDT-211
  • Loading branch information
ehanson8 committed Mar 11, 2024
1 parent c41c633 commit fd8d142
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions config/opensearch_mappings.json
Original file line number Diff line number Diff line change
Expand Up @@ -315,8 +315,28 @@
}
}
},
"publication_information": {
"type": "text"
"publishers": {
"type": "nested",
"include_in_parent": "true",
"properties": {
"name": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"normalizer": "lowercase"
}
}
},
"date": {
"type": "keyword",
"normalizer": "lowercase"
},
"location": {
"type": "keyword",
"normalizer": "lowercase"
}
}
},
"related_items": {
"type": "nested",
Expand Down

0 comments on commit fd8d142

Please sign in to comment.