Module: ThinkingSphinx::RealTime

Defined in:
lib/thinking_sphinx/real_time.rb

Defined Under Namespace

Modules: Callbacks Classes: Attribute, Field, Index, Interpreter, Populator, Processor, Property, TranscribeInstance, Transcriber, Translator

Class Method Summary collapse

Class Method Details

.callback_for(reference, path = [], &block) ⇒ Object



8
9
10
# File 'lib/thinking_sphinx/real_time.rb', line 8

def self.callback_for(reference, path = [], &block)
  Callbacks::RealTimeCallbacks.new reference.to_sym, path, &block
end

.populatorObject



12
13
14
# File 'lib/thinking_sphinx/real_time.rb', line 12

def self.populator
  @populator ||= ThinkingSphinx::RealTime::Populator
end

.populator=(value) ⇒ Object



16
17
18
# File 'lib/thinking_sphinx/real_time.rb', line 16

def self.populator=(value)
  @populator = value
end

.processorObject



20
21
22
# File 'lib/thinking_sphinx/real_time.rb', line 20

def self.processor
  @processor ||= ThinkingSphinx::RealTime::Processor
end

.processor=(value) ⇒ Object



24
25
26
# File 'lib/thinking_sphinx/real_time.rb', line 24

def self.processor=(value)
  @processor = value
end