Class GeoJSONAnalyzerProperties

java.lang.Object
com.arangodb.entity.arangosearch.analyzer.GeoJSONAnalyzerProperties

public final class GeoJSONAnalyzerProperties extends Object
Author:
Michele Rastelli
  • Constructor Details

    • GeoJSONAnalyzerProperties

      public GeoJSONAnalyzerProperties()
  • Method Details

    • getType

    • setType

    • getOptions

      public GeoAnalyzerOptions getOptions()
      Returns:
      Options for fine-tuning geo queries GeoJSONAnalyzerProperties. These options should generally remain unchanged.
    • setOptions

      public void setOptions(GeoAnalyzerOptions options)
    • getLegacy

      public Boolean getLegacy()
      Returns:
      This option controls how GeoJSON Polygons are interpreted (introduced in v3.10.5). - If `legacy` is `true`, the smaller of the two regions defined by a linear ring is interpreted as the interior of the ring and a ring can at most enclose half the Earth's surface. - If `legacy` is `false`, the area to the left of the boundary ring's path is considered to be the interior and a ring can enclose the entire surface of the Earth.

      The default is `false`.

    • setLegacy

      public void setLegacy(Boolean legacy)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object