Class: ThinkingSphinx::Configuration::DistributedIndices
- Inherits:
-
Object
- Object
- ThinkingSphinx::Configuration::DistributedIndices
- Defined in:
- lib/thinking_sphinx/configuration/distributed_indices.rb
Instance Method Summary collapse
-
#initialize(indices) ⇒ DistributedIndices
constructor
A new instance of DistributedIndices.
- #reconcile ⇒ Object
Constructor Details
#initialize(indices) ⇒ DistributedIndices
Returns a new instance of DistributedIndices.
4 5 6 |
# File 'lib/thinking_sphinx/configuration/distributed_indices.rb', line 4 def initialize(indices) @indices = indices end |
Instance Method Details
#reconcile ⇒ Object
8 9 10 11 12 |
# File 'lib/thinking_sphinx/configuration/distributed_indices.rb', line 8 def reconcile grouped_indices.each do |reference, indices| append distributed_index(reference, indices) end end |