Commit 9248b498f6e71be20564c4f4c1a6281fcb6d5ce2
1 parent
5960ae89
Exists in
relation
and in
1 other branch
Updated readme [skip ci]
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
README.md
@@ -791,7 +791,7 @@ Product.search("pear").aggs(products_per_year: {date_histogram: {field: :created | @@ -791,7 +791,7 @@ Product.search("pear").aggs(products_per_year: {date_histogram: {field: :created | ||
791 | For other aggregation types, including sub-aggregations, use `body_options`: | 791 | For other aggregation types, including sub-aggregations, use `body_options`: |
792 | 792 | ||
793 | ```ruby | 793 | ```ruby |
794 | -Product.search("orange").body_options(aggs: {price: {histogram: {field: :price, interval: 10}}) | 794 | +Product.search("orange").body_options(aggs: {price: {histogram: {field: :price, interval: 10}}}) |
795 | ``` | 795 | ``` |
796 | 796 | ||
797 | ### Highlight | 797 | ### Highlight |