From 250baf403085ae587996661ee07a659045c5647c Mon Sep 17 00:00:00 2001 From: Andrew Date: Mon, 30 Jul 2018 21:47:35 -0700 Subject: [PATCH] Fixed example - #1180 [skip ci] --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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