diff --git a/README.md b/README.md index 35fc2cb..672659a 100644 --- a/README.md +++ b/README.md @@ -813,7 +813,7 @@ Product.search "pear", aggs: {products_per_year: {date_histogram: {field: :creat 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