]> git.openstreetmap.org Git - nominatim.git/commit
use SP-GIST index for building index where available
authorSarah Hoffmann <lonvia@denofr.de>
Sun, 10 Oct 2021 12:17:03 +0000 (14:17 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sun, 10 Oct 2021 19:55:38 +0000 (21:55 +0200)
commit3649487f5e2c70c5964a0af31bb846fe55904ab6
tree84f4ff0bb94cae06d3026db4050648868111ea7c
parent4b007ae74039d26cd0b5cfd755beac9081b3528a
use SP-GIST index for building index where available

Point-in-polygon queries are much faster with a SP-GIST geometry
index, so use that for the index used to check if a housenumber
is inside a building.

Only available with Postgis 3. There is an automatic fallback to
GIST for Postgis 2.
lib-sql/tables.sql
nominatim/db/sql_preprocessor.py
test/python/conftest.py