]> git.openstreetmap.org Git - nominatim.git/blobdiff - sql/indices_updates.src.sql
revert to && comparison for geometries
[nominatim.git] / sql / indices_updates.src.sql
index 175bfba229104fb91639d4fbdd67a7ac1094916a..6d4c968e16bc18ad5cfe0e831161b98f3a85ab0e 100644 (file)
@@ -1,7 +1,7 @@
 -- Indices used only during search and update.
 -- These indices are created only after the indexing process is done.
 
-CREATE INDEX CONCURRENTLY idx_placex_pendingsector ON placex USING BTREE (rank_search,geometry_sector) {ts:address-index} where indexed_status > 0;
+CREATE INDEX CONCURRENTLY idx_placex_pendingsector ON placex USING BTREE (rank_address,geometry_sector) {ts:address-index} where indexed_status > 0;
 
 CREATE INDEX CONCURRENTLY idx_location_area_country_place_id ON location_area_country USING BTREE (place_id) {ts:address-index};