Compacting spatial views
Spatial views are compacted with the
POST /[bucket-name]/_design/[ddoc-name]/_spatial/_compactHTTP method and URI
Spatial views are not automatically compacted with data and indexes. Instead, each spatial view must be manually compacted.
To compact each spatial view, specify the compaction for the spatial view:
This URL contains the following information:
localhostis the IP address for the local host. The port number, 8092, is unique to the spatial indexing system.
The name of the bucket where the design document is configured.
The name of the design document that contains the spatial index or indexes that you want to compact.