Class: GeoblacklightMessaging::GeoblacklightEventProcessor::DeleteProcessor
- Inherits:
-
Processor
- Object
- Processor
- GeoblacklightMessaging::GeoblacklightEventProcessor::DeleteProcessor
- Defined in:
- app/services/geoblacklight_messaging/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 GeoblacklightMessaging::GeoblacklightEventProcessor::Processor
Instance Method Details
#process ⇒ Object
4 5 6 7 8 |
# File 'app/services/geoblacklight_messaging/geoblacklight_event_processor/delete_processor.rb', line 4 def process index.delete_by_query "layer_slug_s:#{RSolr.solr_escape(id)}" index.commit true end |