Commit c076d87c22206a83233b87efe4864e2900b425a2
1 parent
f6da1d73
Exists in
master
and in
19 other branches
Updated docs
Showing
2 changed files
with
9 additions
and
4 deletions
Show diff stats
CHANGELOG.md
README.md
... | ... | @@ -425,6 +425,8 @@ If a reindex is interrupted, you can resume it with: |
425 | 425 | Product.reindex(resume: true) |
426 | 426 | ``` |
427 | 427 | |
428 | +For large data sets, we recommended [background reindexing](#background-reindexing). | |
429 | + | |
428 | 430 | ### To Reindex, or Not to Reindex |
429 | 431 | |
430 | 432 | #### Reindex |
... | ... | @@ -457,9 +459,9 @@ There are four strategies for keeping the index synced with your database. |
457 | 459 | |
458 | 460 | And [install Active Job](https://github.com/ankane/activejob_backport) for Rails 4.1 and below. Jobs are added to a queue named `searchkick`. |
459 | 461 | |
460 | -3. Queues [experimental] | |
462 | +3. Queues | |
461 | 463 | |
462 | - Push ids of records that need updated to a queue and reindex in the background in batches. This is more performant than the asynchronous method, which updates records individually. See [how to use](#queues-experimental). | |
464 | + Push ids of records that need updated to a queue and reindex in the background in batches. This is more performant than the asynchronous method, which updates records individually. See [how to use](#queues). | |
463 | 465 | |
464 | 466 | 4. Manual |
465 | 467 | |
... | ... | @@ -1251,7 +1253,9 @@ ReindexConversionsJob.perform_later("Product") |
1251 | 1253 | |
1252 | 1254 | ## Large Data Sets |
1253 | 1255 | |
1254 | -### Background Reindexing [experimental, ActiveRecord only] | |
1256 | +### Background Reindexing | |
1257 | + | |
1258 | +*ActiveRecord only* | |
1255 | 1259 | |
1256 | 1260 | For large data sets, you can use background jobs to parallelize reindexing. |
1257 | 1261 | |
... | ... | @@ -1278,7 +1282,7 @@ And use: |
1278 | 1282 | Searchkick.reindex_status(index_name) |
1279 | 1283 | ``` |
1280 | 1284 | |
1281 | -### Queues [experimental] | |
1285 | +### Queues | |
1282 | 1286 | |
1283 | 1287 | You can also queue updates and do them in bulk for better performance. First, set up Redis in an initializer. |
1284 | 1288 | ... | ... |