Class: Solrizer::DefaultDescriptors::TextableDescriptor
- Inherits:
-
Solrizer::Descriptor
- Object
- Solrizer::Descriptor
- Solrizer::DefaultDescriptors::TextableDescriptor
- 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
106 107 108 |
# File 'lib/cul_hydra/solrizer_patch.rb', line 106 def converter(field_type) lambda {|value| normal(value)} end |
#name_and_converter(field_name, args = nil) ⇒ Object
103 104 105 |
# File 'lib/cul_hydra/solrizer_patch.rb', line 103 def name_and_converter(field_name, args=nil) super('all_text', args) end |