lib/kithe/indexable_settings.rb in kithe-2.0.1 vs lib/kithe/indexable_settings.rb in kithe-2.0.2
- old
+ new
@@ -6,10 +6,10 @@
model_name_solr_field:, solr_id_value_attribute:, disable_callbacks: false)
@solr_url = solr_url
@writer_class_name = writer_class_name
@writer_settings = writer_settings
@model_name_solr_field = model_name_solr_field
- @solr_id_value_attribute = solr_id_value_attribute
+ @solr_id_value_attribute = solr_id_value_attribute || 'id'
end
# Use configured solr_url, and merge together with configured
# writer_settings
def writer_settings