Class: SolrService
- Inherits:
-
Object
- Object
- SolrService
- Defined in:
- lib/bulk_ops/solr_service.rb
Class Method Summary collapse
Class Method Details
.record_exists?(id) ⇒ Boolean
3 4 5 6 7 8 9 10 |
# File 'lib/bulk_ops/solr_service.rb', line 3 def self.record_exists? id begin return true if SolrDocument.find(id) rescue Blacklight::Exceptions::RecordNotFound return false end return false end |