update to latest osm2pgsql version
-Subproject commit b8af2b242f55b4f31abac9ba428d4ccf6aa51cd0
+Subproject commit acbec68bbf94dafae103663801d55291cf8f227e
);
ALTER TABLE ONLY wikipedia_redirect ADD CONSTRAINT wikipedia_redirect_pkey PRIMARY KEY (language, from_title);
+-- osm2pgsql does not create indexes on the middle tables for Nominatim
+-- Add one for lookup of associated street relations.
+CREATE INDEX planet_osm_rels_parts_associated_idx ON planet_osm_rels USING gin(parts) WHERE tags @> ARRAY['associatedStreet'];