Commit 0058257db769517aae89afc2b0c8203c9cda3b3c
1 parent
4d5276bd
Exists in
master
and in
19 other branches
Renamed to parallel reindexing [skip ci]
Showing
1 changed file
with
3 additions
and
5 deletions
Show diff stats
README.md
... | ... | @@ -436,7 +436,7 @@ If a reindex is interrupted, you can resume it with: |
436 | 436 | Product.reindex(resume: true) |
437 | 437 | ``` |
438 | 438 | |
439 | -For large data sets, try [background reindexing](#background-reindexing). | |
439 | +For large data sets, try [parallel reindexing](#parallel-reindexing). | |
440 | 440 | |
441 | 441 | ### To Reindex, or Not to Reindex |
442 | 442 | |
... | ... | @@ -1155,9 +1155,7 @@ class Product < ActiveRecord::Base |
1155 | 1155 | end |
1156 | 1156 | ``` |
1157 | 1157 | |
1158 | -### Background Reindexing | |
1159 | - | |
1160 | -*ActiveRecord only* | |
1158 | +### Parallel Reindexing | |
1161 | 1159 | |
1162 | 1160 | For large data sets, you can use background jobs to parallelize reindexing. |
1163 | 1161 | |
... | ... | @@ -1186,7 +1184,7 @@ Searchkick.reindex_status(index_name) |
1186 | 1184 | |
1187 | 1185 | ### Queuing |
1188 | 1186 | |
1189 | -You can also queue ids of records that need reindexed and reindex in bulk for better performance. First, set up Redis in an initializer. | |
1187 | +Push ids of records needing reindexed to a queue and reindex in bulk for better performance. First, set up Redis in an initializer. | |
1190 | 1188 | |
1191 | 1189 | ```ruby |
1192 | 1190 | Searchkick.redis = Redis.new | ... | ... |