Skip to content

Commit

Permalink
BL-1319 Remove extra genre fields
Browse files Browse the repository at this point in the history
- We are indexing the same genre mapping for three different fields
- This removes the _display and _facet fields, but keeps the _t field so that we get the correct solr configurations
  • Loading branch information
sensei100 committed May 20, 2021
1 parent 3281400 commit 6c87359
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/cob_index/indexer_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,7 @@
to_field "subject_era_facet", extract_marc("648a:650y:651y:654y:655y:690y:647y", trim_punctuation: true)
to_field "subject_region_facet", marc_geo_facet
to_field "genre_facet", extract_genre
to_field "genre_display", extract_genre_display
to_field "genre_t", extract_genre_display
# genre_full_facet is an invisible field that is used to generate the direct links on individual record pages
to_field "genre_full_facet", extract_genre_display

to_field "subject_t", extract_marc_with_flank(%W(
600#{A_TO_U}
Expand Down

0 comments on commit 6c87359

Please sign in to comment.