Commit c12ab4731b2961b6a12b7d2472bb00f74ad4fc6c
1 parent
e005f88d
Exists in
master
and in
2 other branches
Updated example [skip ci]
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
README.md
... | ... | @@ -878,7 +878,7 @@ Product.search("orange", body_options: {aggs: {price: {histogram: {field: :price |
878 | 878 | Specify which fields to index with highlighting. |
879 | 879 | |
880 | 880 | ```ruby |
881 | -class Product < ApplicationRecord | |
881 | +class Band < ApplicationRecord | |
882 | 882 | searchkick highlight: [:name] |
883 | 883 | end |
884 | 884 | ``` | ... | ... |