Skip to main content

Geo indices

The intent geo is for the geo types point, linestring, polygon, multipoint, multilinestring and multipolygon.

DatabaseIndex
MongoDB2dsphere index, named ens_<type>_<path>_geo_<hash>, for geometries stored in MongoDB (the default) and nested ones
Neo4jpoint index, for points with "storage": "graph"
Elasticsearchno 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 step, e.g. geo_distance, geo_bounding_box or geo_shape, see the geospatial search examples. Rules compare geometries with the geo functions, which need no index.