Package com.arangodb.model
Class GeoIndexOptions
- Author:
- Mark Vollmary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.arangodb.model.IndexOptions
getInBackground, getName, inBackground, name
-
Constructor Details
-
GeoIndexOptions
public GeoIndexOptions()
-
-
Method Details
-
getFields
-
getType
-
getGeoJson
-
geoJson
- Parameters:
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- Returns:
- options
-
getLegacyPolygons
-
legacyPolygons
- Parameters:
legacyPolygons
- If `true` will use the old rules (pre-3.10) for the parsing GeoJSON polygons. This allows you to let old indexes produce the same, potentially wrong results as before an upgrade. A geo index with `legacyPolygons` set to `false` will use the new, correct and consistent method for parsing of GeoJSON polygons. See Legacy Polygons.- Returns:
- options
- Since:
- ArangoDB 3.10
-