- CREATE INDEX IF NOT EXISTS idx_placex_pendingsector
- ON placex USING BTREE (rank_address,geometry_sector) {{db.tablespace.address_index}}
- WHERE indexed_status > 0;
+ DROP INDEX IF EXISTS idx_placex_geometry_address_area_candidates;
+ DROP INDEX IF EXISTS idx_placex_geometry_buildings;
+ DROP INDEX IF EXISTS idx_placex_geometry_lower_rank_ways;
+ DROP INDEX IF EXISTS idx_placex_wikidata;
+ DROP INDEX IF EXISTS idx_placex_rank_address_sector;
+ DROP INDEX IF EXISTS idx_placex_rank_boundaries_sector;
+{% else %}
+-- Indices only needed for updating.