Commit ef80aaf95dc26221ee05cc090396e61a14d1c821
1 parent
59976ddb
Exists in
master
and in
21 other branches
Version bump to 1.5.1 [skip ci]
Showing
3 changed files
with
5 additions
and
4 deletions
Show diff stats
CHANGELOG.md
README.md
... | ... | @@ -1313,7 +1313,7 @@ Product.where("id > 100000").find_in_batches do |batch| |
1313 | 1313 | end |
1314 | 1314 | ``` |
1315 | 1315 | |
1316 | -Reindex a subset of attributes | |
1316 | +Reindex a subset of attributes (partial reindex) | |
1317 | 1317 | |
1318 | 1318 | ```ruby |
1319 | 1319 | class Product < ActiveRecord::Base |
... | ... | @@ -1325,7 +1325,7 @@ class Product < ActiveRecord::Base |
1325 | 1325 | end |
1326 | 1326 | end |
1327 | 1327 | |
1328 | -Product.partial_reindex(:search_prices) | |
1328 | +Product.reindex(:search_prices) | |
1329 | 1329 | ``` |
1330 | 1330 | |
1331 | 1331 | Remove old indices | ... | ... |
lib/searchkick/version.rb