Annotation Interface GeoIndex


Annotation to define given fields to be indexed using ArangoDB's Geo index.
Author:
Mark Vollmary
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    A list of attribute paths
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    If a geo-spatial index on a location is constructed and geoJson is true, then the order within the array is longitude followed by latitude.
  • Element Details

    • fields

      String[] fields
      A list of attribute paths
    • geoJson

      boolean geoJson
      If a geo-spatial index on a location is constructed and geoJson is true, then the order within the array is longitude followed by latitude. This corresponds to the format described in
      Default:
      false