diff --git a/README.md b/README.md index bc1848f..d2470d0 100644 --- a/README.md +++ b/README.md @@ -421,7 +421,13 @@ Product.search "wingtips", where: {color: "brandy"}, facets: [:size], smart_face or set `where` conditions for each facet separately: ```ruby -Product.search "2% Milk", facets: {store_id: {where: {in_stock: true}, limit: 10}} +Product.search "wingtips", facets: {size: {where: {color: "brandy"}}} +``` + +Limit + +```ruby +Product.search "2% Milk", facets: {store_id: {limit: 10}} ``` Ranges -- libgit2 0.21.0