diff --git a/README.md b/README.md index cb44956..e1f74e8 100644 --- a/README.md +++ b/README.md @@ -1441,7 +1441,7 @@ end And use the `body` option to search: ```ruby -products = Product.search body: {match: {name: "milk"}} +products = Product.search body: {query: {match: {name: "milk"}}} ``` **Note:** This replaces the entire body, so other options are ignored. -- libgit2 0.21.0