From f6da1d73043a69d7c446d9045995f0c3ad1b23e8 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Sun, 15 Jan 2017 15:45:44 -0800 Subject: [PATCH] Document queues method [skip ci] --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6b08839..176d242 100644 --- a/README.md +++ b/README.md @@ -439,7 +439,7 @@ Product.reindex(resume: true) ### Stay Synced -There are three strategies for keeping the index synced with your database. +There are four strategies for keeping the index synced with your database. 1. Immediate (default) @@ -457,7 +457,11 @@ There are three strategies for keeping the index synced with your database. And [install Active Job](https://github.com/ankane/activejob_backport) for Rails 4.1 and below. Jobs are added to a queue named `searchkick`. -3. Manual +3. Queues [experimental] + + 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). + +4. Manual Turn off automatic syncing -- libgit2 0.21.0