Skip to content
Snippets Groups Projects
PreviewFeatures.md 980 B
Newer Older
  • Learn to ignore specific revisions
  • ## Geoshape Decimation
    
    
    In order to improve indexing and search performance for documents with large geometry, the geo-shape of the following 
    GeoJSON types in the original shape attribute and virtual shape attribute if exists are decimated 
    by implementing Ramer–Douglas–Peucker algorithm:
    - LineString
    - MultiLineString
    - Polygon
    - MultiPolygon  
    
    
    Zhibin Mai's avatar
    Zhibin Mai committed
    
    The feature is enabled by default for all data partitions. If client does not want the geo-shape to be decimated in their
    data partitions, they can disable geo-shape decimation through the Partition Service.  
    Here is an example to disable this feature by setting the property "indexer-decimation-enabled" in a given data partition:
    
    ```
    {
       "indexer-decimation-enabled": {
            "sensitive": false,
    
    Zhibin Mai's avatar
    Zhibin Mai committed
            "value": "false"
    
    Zhibin Mai's avatar
    Zhibin Mai committed
    If the property "indexer-decimation-enabled" is not created or the property value is set to "true" (String type) in the 
    given data partition, the geo-shape decimation will be enabled.