Commit 798098fe2e16a717ce706a4f7621efd2a0c09873

Authored by Andrew Kane
1 parent 599c1d5f

Updated filterable docs [skip ci]

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
@@ -1177,11 +1177,11 @@ end @@ -1177,11 +1177,11 @@ end
1177 1177
1178 ### Filterable Fields 1178 ### Filterable Fields
1179 1179
1180 -By default, all fields are filterable (can be used in `where` option). Speed up indexing and reduce index size by only making some fields filterable. 1180 +By default, all string fields are filterable (can be used in `where` option). Speed up indexing and reduce index size by only making some fields filterable.
1181 1181
1182 ```ruby 1182 ```ruby
1183 class Product < ActiveRecord::Base 1183 class Product < ActiveRecord::Base
1184 - searchkick filterable: [:store_id] 1184 + searchkick filterable: [:brand]
1185 end 1185 end
1186 ``` 1186 ```
1187 1187