diff --git a/README.md b/README.md index 77bfe88..9bfbcca 100644 --- a/README.md +++ b/README.md @@ -791,7 +791,7 @@ Product.search("pear").aggs(products_per_year: {date_histogram: {field: :created For other aggregation types, including sub-aggregations, use `body_options`: ```ruby -Product.search("orange").body_options(aggs: {price: {histogram: {field: :price, interval: 10}}) +Product.search("orange").body_options(aggs: {price: {histogram: {field: :price, interval: 10}}}) ``` ### Highlight -- libgit2 0.21.0