Class: FlyingSphinx::Commands::IndexSQL
- Defined in:
- lib/flying_sphinx/commands/index_sql.rb
Constant Summary
Constants inherited from Base
Base::DEFAULT_TIMEOUT, Base::ERROR_MESSAGES, Base::INDEX_TIMEOUT
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#call ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/flying_sphinx/commands/index_sql.rb', line 4 def call if async? send_action 'index', .merge(:unique => 'true') else clear_jobs run_action 'index', index_timeout, end end |