Commit f6da1d73043a69d7c446d9045995f0c3ad1b23e8

Authored by Andrew Kane
1 parent 1ed7d852

Document queues method [skip ci]

Showing 1 changed file with 6 additions and 2 deletions   Show diff stats
@@ -439,7 +439,7 @@ Product.reindex(resume: true) @@ -439,7 +439,7 @@ Product.reindex(resume: true)
439 439
440 ### Stay Synced 440 ### Stay Synced
441 441
442 -There are three strategies for keeping the index synced with your database. 442 +There are four strategies for keeping the index synced with your database.
443 443
444 1. Immediate (default) 444 1. Immediate (default)
445 445
@@ -457,7 +457,11 @@ There are three strategies for keeping the index synced with your database. @@ -457,7 +457,11 @@ There are three strategies for keeping the index synced with your database.
457 457
458 And [install Active Job](https://github.com/ankane/activejob_backport) for Rails 4.1 and below. Jobs are added to a queue named `searchkick`. 458 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 459
460 -3. Manual 460 +3. Queues [experimental]
  461 +
  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).
  463 +
  464 +4. Manual
461 465
462 Turn off automatic syncing 466 Turn off automatic syncing
463 467