Class: GeoWorks::GeoblacklightEventProcessor::DeleteProcessor
- Inherits:
-
Processor
- Object
- Processor
- GeoWorks::GeoblacklightEventProcessor::DeleteProcessor
- Defined in:
- app/processors/geo_works/geoblacklight_event_processor/delete_processor.rb
Instance Attribute Summary
Attributes inherited from Processor
Instance Method Summary collapse
Methods inherited from Processor
Constructor Details
This class inherits a constructor from GeoWorks::GeoblacklightEventProcessor::Processor
Instance Method Details
#process ⇒ Object
4 5 6 7 8 9 10 |
# File 'app/processors/geo_works/geoblacklight_event_processor/delete_processor.rb', line 4 def process index.delete_by_query "layer_slug_s:#{RSolr.solr_escape(id)}" index.commit true rescue RSolr::Error::Http false end |