Commit f84a5b3e3829cd8870097473e9676c974d658c17

Authored by Andrew Kane
1 parent a0e590d8

Refresh index after reindex - closes #58

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
lib/searchkick/reindex.rb
... ... @@ -35,6 +35,8 @@ module Searchkick
35 35 searchkick_import(index) # import after swap
36 36 end
37 37  
  38 + index.refresh
  39 +
38 40 true
39 41 end
40 42  
... ...