Sha256: 1e7d41cc2903cae2f98976d58e2a1db346671ce79b2f8b826f0deab1f856b8e0
Contents?: true
Size: 649 Bytes
Versions: 36
Compression:
Stored size: 649 Bytes
Contents
module ThinkingSphinx module Deltas class DeltaJob attr_accessor :index def initialize(index) @index = index end def perform return true unless ThinkingSphinx.updates_enabled? && ThinkingSphinx.deltas_enabled? config = ThinkingSphinx::Configuration.instance client = Riddle::Client.new config.address, config.port output = `#{config.bin_path}#{config.indexer_binary_name} --config #{config.config_file} --rotate #{index}` puts output unless ThinkingSphinx.suppress_delta_output? true end end end end
Version data entries
36 entries across 36 versions & 12 rubygems