From 6da28b85c35c670fe10230f610fc48c5e9fc7d36 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Sun, 9 Nov 2014 19:46:32 -0800 Subject: [PATCH] Added unsearchable option to the readme --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+), 0 deletions(-) diff --git a/README.md b/README.md index 9c87d99..5320b0d 100644 --- a/README.md +++ b/README.md @@ -897,6 +897,14 @@ class Product < ActiveRecord::Base end ``` +Make fields unsearchable but include in the source [master] + +```ruby +class Product < ActiveRecord::Base + searchkick unsearchable: [:color] +end +``` + Reindex asynchronously ```ruby -- libgit2 0.21.0