From cad80303f3c59f3cc2a92076e34100ab7c584444 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Thu, 21 Jan 2016 23:02:34 -0800 Subject: [PATCH] Added note on custom settings - #586 --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+), 0 deletions(-) diff --git a/README.md b/README.md index 6aee4d4..7b6636e 100644 --- a/README.md +++ b/README.md @@ -1124,6 +1124,14 @@ Remove old indices Product.clean_indices ``` +Add custom settings + +```ruby +class Product < ActiveRecord::Base + searchkick settings: {number_of_shards: 3} +end +``` + Use a different index name ```ruby -- libgit2 0.21.0