Geo indices
The intent geo is for the geo point, linestring, polygon, multipoint, multilinestring and multipolygon.
| Database | Index |
|---|---|
| MongoDB | 2dsphere index, named ens_<type>_<path>_geo_<hash>, for geometries stored in MongoDB (the default) and nested ones |
| Neo4j | point index, for points with "storage": "graph" |
| Elasticsearch | no further index, the property is mapped as geo_point (point) or geo_shape (all other geo types) |
{ "type": "point", "index": "geo"}The index is created by the database which stores the value. Geometries inside objects and lists are indexed by their path, e.g. address.location. Geo data is searched with the geo queries of the Elasticsearch , e.g. geo_distance, geo_bounding_box or geo_shape, see the geospatial search . Rules compare geometries with the geo , which need no index.