1
0
Fork 0

Merge branch 'devel' of github.com:arangodb/arangodb into devel

This commit is contained in:
Wilfried Goesgens 2017-05-23 12:06:16 +02:00
commit 8e46df89e4
1 changed files with 2 additions and 2 deletions

View File

@ -39,9 +39,9 @@ A geo index is implicitly sparse, and there is no way to control its sparsity.
In case that the index was successfully created, an object with the index
details, including the index-identifier, is returned.
To create a geo on an array attribute that contains longitude first, set the
To create a geo index on an array attribute that contains longitude first, set the
*geoJson* attribute to `true`. This corresponds to the format described in
[positions](http://geojson.org/geojson-spec.html)
[RFC 7946 Position](https://tools.ietf.org/html/rfc7946#section-3.1.1)
`collection.ensureIndex({ type: "geo", fields: [ "location" ], geoJson: true })`