Module: Librr::Indexer::SolrManager

Includes:
Logger::ClassLogger
Defined in:
lib/librr/indexer.rb

Instance Method Summary collapse

Methods included from Logger::ClassLogger

#debug, #info, #logger

Instance Method Details

#post_initObject



40
41
42
# File 'lib/librr/indexer.rb', line 40

def post_init
  self.debug "start solr"
end

#receive_data(data) ⇒ Object



44
45
46
# File 'lib/librr/indexer.rb', line 44

def receive_data data
  self.debug "receiving solr: #{data}"
end

#unbindObject



48
49
50
51
# File 'lib/librr/indexer.rb', line 48

def unbind
  self.debug "stop solr"
  File.delete Librr::Indexer.pid_file rescue nil
end