Commit ad841210c90838c4fddbd2286091761523b27f8b

Authored by Andrew
1 parent a423f8ff

Version bump to 2.4.0 [skip ci]

1 -## 2.3.3 [unreleased] 1 +## 2.4.0
2 2
3 - Fixed `similar` for Elasticsearch 6 3 - Fixed `similar` for Elasticsearch 6
4 - Added `inheritance` option 4 - Added `inheritance` option
@@ -971,6 +971,14 @@ class Dog < Animal @@ -971,6 +971,14 @@ class Dog < Animal
971 end 971 end
972 ``` 972 ```
973 973
  974 +In your parent model, set:
  975 +
  976 +```ruby
  977 +class Animal < ApplicationRecord
  978 + searchkick inheritance: true
  979 +end
  980 +```
  981 +
974 The parent and child model can both reindex. 982 The parent and child model can both reindex.
975 983
976 ```ruby 984 ```ruby
lib/searchkick/version.rb
1 module Searchkick 1 module Searchkick
2 - VERSION = "2.3.2" 2 + VERSION = "2.4.0"
3 end 3 end