Class: Solr::Solrconfig

Inherits:
Config
  • Object
show all
Defined in:
backend/app/model/solr.rb

Instance Attribute Summary

Attributes inherited from Config

#name

Instance Method Summary collapse

Methods included from Checksums

#checksum_valid?, #external_checksum, #internal_checksum

Constructor Details

#initialize(url) ⇒ Solrconfig

Returns a new instance of Solrconfig.



70
71
72
73
74
# File 'backend/app/model/solr.rb', line 70

def initialize(url)
  super(url)
  @name = 'solrconfig'
  @path = 'admin/file?file=solrconfig.xml&contentType=text%2Fxml%3Bcharset%3Dutf-8'
end