Commit 93efde88dd258578c4cc8d4e90ea6238e5b9338c

Authored by Andrew
1 parent 8fb8f233

Updated readme [skip ci]

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
@@ -921,7 +921,7 @@ Not touching the query shape @@ -921,7 +921,7 @@ Not touching the query shape
921 Restaurant.search "burger", where: {bounds: {geo_shape: {type: "envelope", relation: "disjoint", coordinates: [{lat: 38, lon: -123}, {lat: 37, lon: -122}]}}} 921 Restaurant.search "burger", where: {bounds: {geo_shape: {type: "envelope", relation: "disjoint", coordinates: [{lat: 38, lon: -123}, {lat: 37, lon: -122}]}}}
922 ``` 922 ```
923 923
924 -Containing the query shape (Elasticsearch 2.2+) 924 +Containing the query shape
925 925
926 ```ruby 926 ```ruby
927 Restaurant.search "fries", where: {bounds: {geo_shape: {type: "envelope", relation: "contains", coordinates: [{lat: 38, lon: -123}, {lat: 37, lon: -122}]}}} 927 Restaurant.search "fries", where: {bounds: {geo_shape: {type: "envelope", relation: "contains", coordinates: [{lat: 38, lon: -123}, {lat: 37, lon: -122}]}}}