class SolrEad::Document
Public Instance Methods
to_solr(solr_doc = Hash.new)
click to toggle source
Calls superclass method
# File lib/solr_ead/document.rb, line 71 def to_solr(solr_doc = Hash.new) super(solr_doc) solr_doc.merge!({"id" => self.eadid.first.strip}) Solrizer.insert_field(solr_doc, "ead", self.eadid.first.strip, :stored_sortable) return solr_doc end