diff --git a/CHANGELOG.md b/CHANGELOG.md index ddf2bbb..3803c91 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,10 @@ - Removed `async` option from `record.reindex` - use `mode: :async` instead - Conversions are not stemmed by default - use `stem_conversion: true` to enable this +```ruby +Searchkick.model_options = {stem_conversions: true} +``` + ## 2.5.1 [unreleased] - No longer require fields when `_all` field is missing diff --git a/README.md b/README.md index e06da8e..d3d8aaf 100644 --- a/README.md +++ b/README.md @@ -1737,9 +1737,9 @@ RSpec.configure do |config| end config.around(:each, search: true) do |example| - Searchkick.enable_callbacks - example.run - Searchkick.disable_callbacks + Searchkick.callbacks(true) do + example.run + end end end ``` -- libgit2 0.21.0