Sha256: 840baa4fac16683593c3864c3eebb17a9addb85c76c86f5208b278bef972f120
Contents?: true
Size: 312 Bytes
Versions: 55
Compression:
Stored size: 312 Bytes
Contents
# frozen_string_literal: true module SolrDocHelper def add_solr_value(solr_doc, field_name, value, field_type = :default, index_types = [:searchable]) case field_type when :symbol index_types << field_type end ::Solrizer.insert_field(solr_doc, field_name, value, *index_types) end end
Version data entries
55 entries across 55 versions & 1 rubygems