Skip to content
/ cul_hydra Public

Columbia Libraries MODS profile as OM document, Fedora DC as OM document, and Solrizer classes to support collecting field, mapped values, and a text catch-all

Notifications You must be signed in to change notification settings

cul/cul_hydra

Repository files navigation

CUL OM and Solrizer Implementations

To Run Integration Tests

bundle exec rake jetty:unzip
bundle exec rake cul_hydra:ci

To Run Unit Tests

bundle exec rspec spec/unit

Additions to Solr

###Cul::Hydra::Solrizer::TerminologyBasedSolrizer This Solrizer is basically a clone of the default implementation with a couple of bugfixes and two added features:

1. Collecting terms

Specifying a value for :variant_of[:field_base] in your term definition will cause the term's solr field value to be duplicated in another field whose name will be a combination of the :field_base value and the suffix appropriate to the term's :index_as values

2. Mapping term values

Specifying a value for :variant_of[:map] in your term definition will cause the term value to be used as a lookup key in as specified by the ValueMapper interface (The default is a YAML map in conf/solr_value_maps.yml)

To-Do

  1. A way to funnel term values into a solr field called "text"

About

Columbia Libraries MODS profile as OM document, Fedora DC as OM document, and Solrizer classes to support collecting field, mapped values, and a text catch-all

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages