Commit cad80303f3c59f3cc2a92076e34100ab7c584444

Authored by Andrew Kane
1 parent f40de425

Added note on custom settings - #586

Showing 1 changed file with 8 additions and 0 deletions   Show diff stats
README.md
... ... @@ -1124,6 +1124,14 @@ Remove old indices
1124 1124 Product.clean_indices
1125 1125 ```
1126 1126  
  1127 +Add custom settings
  1128 +
  1129 +```ruby
  1130 +class Product < ActiveRecord::Base
  1131 + searchkick settings: {number_of_shards: 3}
  1132 +end
  1133 +```
  1134 +
1127 1135 Use a different index name
1128 1136  
1129 1137 ```ruby
... ...