]> git.openstreetmap.org Git - nominatim.git/blob - sql/indices_search.src.sql
Update CentOS instruction to postgresql 11 (default was 9.2)
[nominatim.git] / sql / indices_search.src.sql
1 -- Indices used for /search API.
2 -- These indices are created only after the indexing process is done.
3
4 CREATE INDEX idx_search_name_nameaddress_vector ON search_name USING GIN (nameaddress_vector) WITH (fastupdate = off) {ts:search-index};
5 CREATE INDEX idx_search_name_name_vector ON search_name USING GIN (name_vector) WITH (fastupdate = off) {ts:search-index};
6 CREATE INDEX idx_search_name_centroid ON search_name USING GIST (centroid) {ts:search-index};