Commit 56d277c71fe6f20c9c9b18e7bf784fe28effc80e
1 parent
f7fe8ee7
Exists in
master
and in
21 other branches
readme for Searchkick.search_method_name
Showing
1 changed file
with
6 additions
and
0 deletions
Show diff stats
README.md
@@ -643,6 +643,12 @@ Product.enable_search_callbacks # or use Searchkick.enable_callbacks for all mod | @@ -643,6 +643,12 @@ Product.enable_search_callbacks # or use Searchkick.enable_callbacks for all mod | ||
643 | Product.reindex | 643 | Product.reindex |
644 | ``` | 644 | ``` |
645 | 645 | ||
646 | +Change the #search method name in `config/initializers/searchkick.rb` | ||
647 | + | ||
648 | +```ruby | ||
649 | +Searchkick.search_method_name = :lookup | ||
650 | +``` | ||
651 | + | ||
646 | Eager load associations | 652 | Eager load associations |
647 | 653 | ||
648 | ```ruby | 654 | ```ruby |