Commit dc86a2cd30fdecd96689f1d6ceac743d11b25c93
1 parent
ad513310
Exists in
master
and in
2 other branches
Fixed mode default
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/searchkick/index.rb
... | ... | @@ -350,7 +350,7 @@ module Searchkick |
350 | 350 | # https://gist.github.com/jarosan/3124884 |
351 | 351 | # http://www.elasticsearch.org/blog/changing-mapping-with-zero-downtime/ |
352 | 352 | # TODO deprecate async in favor of mode: :async, wait: true/false |
353 | - def full_reindex(relation, import: true, resume: false, retain: false, mode: nil, refresh_interval: nil, scope: nil, wait: nil) | |
353 | + def full_reindex(relation, import: true, resume: false, retain: false, mode: :inline, refresh_interval: nil, scope: nil, wait: nil) | |
354 | 354 | raise ArgumentError, "wait only available in :async mode" if !wait.nil? && mode != :async |
355 | 355 | |
356 | 356 | if resume | ... | ... |