forked from hans/Nominatim
Also introduces a separate constant for the sql directory, so that it can be put separately from the rest of the data if required.
7 lines
458 B
SQL
7 lines
458 B
SQL
-- Indices used for /search API.
|
|
-- These indices are created only after the indexing process is done.
|
|
|
|
CREATE INDEX idx_search_name_nameaddress_vector ON search_name USING GIN (nameaddress_vector) WITH (fastupdate = off) {ts:search-index};
|
|
CREATE INDEX idx_search_name_name_vector ON search_name USING GIN (name_vector) WITH (fastupdate = off) {ts:search-index};
|
|
CREATE INDEX idx_search_name_centroid ON search_name USING GIST (centroid) {ts:search-index};
|