Commit 25626c1498405ce45781fca92cc54248749a01d1
1 parent
51887c9b
Exists in
master
and in
21 other branches
Updated readme [skip ci]
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
README.md
... | ... | @@ -1255,7 +1255,7 @@ indices_boost: {Category => 2, Product => 1} |
1255 | 1255 | To query nested data, use dot notation. |
1256 | 1256 | |
1257 | 1257 | ```ruby |
1258 | -User.search "*", where: {"address.zip_code" => 12345} | |
1258 | +User.search "san", fields: ["address.city"], where: {"address.zip_code" => 12345} | |
1259 | 1259 | ``` |
1260 | 1260 | |
1261 | 1261 | ## Reference | ... | ... |