Class: Solrizer::DefaultDescriptors::ProjectFacetDescriptor

Inherits:
Solrizer::Descriptor
  • Object
show all
Includes:
Normal
Defined in:
lib/cul_hydra/solrizer_patch.rb

Constant Summary

Constants included from Normal

Normal::FULL_PROJ, Normal::FULL_REPO, Normal::LONG_REPO, Normal::SHORT_PROJ, Normal::SHORT_REPO

Instance Method Summary collapse

Methods included from Normal

#normal, #normal!, #translate_with_default

Instance Method Details

#converter(field_type) ⇒ Object



134
135
136
# File 'lib/cul_hydra/solrizer_patch.rb', line 134

def converter(field_type)
  lambda {|value| translate_with_default(SHORT_PROJ, normal!(value), normal!(value))}
end