class SolrEad::Component
Public Instance Methods
to_solr(solr_doc = Hash.new)
click to toggle source
Calls superclass method
# File lib/solr_ead/component.rb, line 72 def to_solr(solr_doc = Hash.new) super(solr_doc) Solrizer.insert_field(solr_doc, "ref", self.ref.first.strip, :stored_sortable) unless self.ref.blank? || self.ref.first.blank? solr_doc end