Module: Solr::Checksums

Included in:
Config
Defined in:
backend/app/model/solr.rb

Instance Method Summary collapse

Instance Method Details

#checksum_valid?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'backend/app/model/solr.rb', line 12

def checksum_valid?
  internal_checksum == external_checksum
end

#external_checksumObject



16
17
18
# File 'backend/app/model/solr.rb', line 16

def external_checksum
  @external_checksum || lookup_external_checksum
end

#internal_checksumObject



20
21
22
# File 'backend/app/model/solr.rb', line 20

def internal_checksum
  @internal_checksum || lookup_internal_checksum
end