README.md in searchkick-hooopo-2.3.3 vs README.md in searchkick-hooopo-2.3.4

- old
+ new

@@ -1175,18 +1175,20 @@ end ``` ### Filterable Fields -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. +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. ```ruby class Product < ActiveRecord::Base - searchkick filterable: [:store_id] + searchkick filterable: [:brand] end ``` +**Note:** Non-string fields will always be filterable and should not be passed to this option. + ### Parallel Reindexing For large data sets, you can use background jobs to parallelize reindexing. ```ruby @@ -1210,10 +1212,16 @@ ```ruby Searchkick.reindex_status(index_name) ``` +You can also have Searchkick wait for reindexing to complete [master] + +```ruby +Searchkick.reindex(async: {wait: true}) +``` + You can use [ActiveJob::TrafficControl](https://github.com/nickelser/activejob-traffic_control) to control concurrency. Install the gem: ```ruby gem 'activejob-traffic_control', '>= 0.1.3' ``` @@ -1559,9 +1567,15 @@ ```ruby class Product < ActiveRecord::Base searchkick index_prefix: "datakick" end +``` + +Use a different term for boosting by conversions + +```ruby +Product.search("banana", conversions_term: "organic banana") ``` Multiple conversion fields ```ruby