Commit 9d49fb3f64987642acc96062eefe4d207898d848
Committed by
GitHub
1 parent
9bdb793e
Exists in
master
and in
5 other branches
Adds missing bracket to readme example (#1430)
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
README.md
... | ... | @@ -813,7 +813,7 @@ Product.search "pear", aggs: {products_per_year: {date_histogram: {field: :creat |
813 | 813 | For other aggregation types, including sub-aggregations, use `body_options`: |
814 | 814 | |
815 | 815 | ```ruby |
816 | -Product.search "orange", body_options: {aggs: {price: {histogram: {field: :price, interval: 10}}} | |
816 | +Product.search "orange", body_options: {aggs: {price: {histogram: {field: :price, interval: 10}}}} | |
817 | 817 | ``` |
818 | 818 | |
819 | 819 | ## Highlight | ... | ... |