Class LegacyGeoShapeFieldMapper.GeoShapeFieldType

    • Method Detail

      • checkCompatibility

        public void checkCompatibility​(MappedFieldType fieldType,
                                       java.util.List<java.lang.String> conflicts,
                                       boolean strict)
        Description copied from class: MappedFieldType
        Checks for any conflicts between this field type and other. If strict is true, all properties must be equal. Otherwise, only properties which must never change in an index are checked.
        Overrides:
        checkCompatibility in class BaseGeoShapeFieldMapper.BaseGeoShapeFieldType
      • tree

        public java.lang.String tree()
      • setTree

        public void setTree​(java.lang.String tree)
      • pointsOnly

        public boolean pointsOnly()
      • setPointsOnly

        public void setPointsOnly​(boolean pointsOnly)
      • treeLevels

        public int treeLevels()
      • setTreeLevels

        public void setTreeLevels​(int treeLevels)
      • precisionInMeters

        public double precisionInMeters()
      • setPrecisionInMeters

        public void setPrecisionInMeters​(double precisionInMeters)
      • distanceErrorPct

        public double distanceErrorPct()
      • setDistanceErrorPct

        public void setDistanceErrorPct​(double distanceErrorPct)
      • setDefaultDistanceErrorPct

        public void setDefaultDistanceErrorPct​(double defaultDistanceErrorPct)
      • defaultPrefixTreeStrategy

        public org.apache.lucene.spatial.prefix.PrefixTreeStrategy defaultPrefixTreeStrategy()
      • resolvePrefixTreeStrategy

        public org.apache.lucene.spatial.prefix.PrefixTreeStrategy resolvePrefixTreeStrategy​(SpatialStrategy strategy)
      • resolvePrefixTreeStrategy

        public org.apache.lucene.spatial.prefix.PrefixTreeStrategy resolvePrefixTreeStrategy​(java.lang.String strategyName)