Skip to content

Commit

Permalink
Merge pull request #16 from designmynight/docs-language
Browse files Browse the repository at this point in the history
docs: specified language in readme
  • Loading branch information
Will Taylor-Jackson authored Jan 13, 2018
2 parents 345d1e1 + 618408f commit a204f34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ $aggregations = $myQuery->getQuery()->getAggregationResults();
## Geo queries
You can filter search results by distance from a geo point or include only those results that fall within given bounds, passing arguments in the format you'd use if querying Elasticsearch directly.

```
```PHP
$withinDistance = MyModel::on('elasticsearch')
->whereGeoDistance('geo_field', [$lat, $lon], $distance);

Expand Down

0 comments on commit a204f34

Please sign in to comment.