app/services/rdf/deep_indexing_service.rb
def append_label(solr_doc, solr_field_key, field_info, val)
    self.class.create_and_insert_terms(solr_field_key,
                                       val,
                                       field_info.behaviors, solr_doc)
    self.class.create_and_insert_terms("#{solr_field_key}_label",
                                       val,
                                       field_info.behaviors, solr_doc)
  end
# Use this method to append a string value from a controlled vocabulary field
# to the solr document. It just puts a copy into the corresponding label field
# @param [Hash] solr_doc
# @param [String] solr_field_key
# @param [Hash] field_info
# @param [String] val
Use this method to append a string value from a controlled vocabulary field
to the solr document. It just puts a copy into the corresponding label field
Use this method to append a string value from a controlled vocabulary field to the solr document . It just puts a copy into the corresponding label field
def append_label(solr_doc, solr_field_key, field_info, val)
    self.class.create_and_insert_terms(solr_field_key,
                                       val,
                                       field_info.behaviors, solr_doc)
    self.class.create_and_insert_terms("#{solr_field_key}_label",
                                       val,
                                       field_info.behaviors, solr_doc)
  end
def append_label ( solr_doc , solr_field_key , field_info , val ) self . class . create_and_insert_terms ( solr_field_key , val , field_info . behaviors , solr_doc ) self . class . create_and_insert_terms ( "#{solr_field_key}_label" , val , field_info . behaviors , solr_doc ) end
Use this method to append a string value from a controlled vocabulary field
to the solr document.
Use this method to append a string value from a controlled vocabulary field to the solr document .
solr_doc
solr_field_key
field_info
val
None