Class: Solr::Schema

Inherits:
Config 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) ⇒ Schema

Returns a new instance of Schema.



62
63
64
65
66
# File 'backend/app/model/solr.rb', line 62

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