diff --git a/README.md b/README.md index 959e4f4..2af68a6 100644 --- a/README.md +++ b/README.md @@ -1664,6 +1664,12 @@ Eager load different associations by model Searchkick.search("*", index_name: [Product, Store], model_includes: {Product => [:store], Store => [:product]}) ``` +Run additional scopes on results [master] + +```ruby +Product.search "milk", scope_results: ->(r) { r.with_attached_images } +``` + Specify default fields to search ```ruby -- libgit2 0.21.0