From 9248b498f6e71be20564c4f4c1a6281fcb6d5ce2 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Wed, 18 Mar 2020 00:34:32 -0700 Subject: [PATCH] Updated readme [skip ci] --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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