Nominatim/nominatim
Sarah Hoffmann 36d068871d disable prepared statements
Prepared statements do not work well with the partial indexes that
Nominatim uses because all Python constants are replaced with
parameters. A query like:

  placex.select().where(placex.c.rank_address.between(4, 25)

gets translated into a prepared query with two parameters:

  SELECT * FROM placex WHERE rank_address BETWEEN %s and %s

And this does not work with a partial index of:

  CREATE INDEX on placex(geometry) WHERE rank_address between 4 and 25
2023-03-28 14:53:45 +02:00
..
api disable prepared statements 2023-03-28 14:53:45 +02:00
clicmd switch reverse CLI command to Python implementation 2023-03-26 18:09:33 +02:00
data fixed typos in docs and code comments 2023-03-06 17:09:38 +05:30
db add lookup() call to the library API 2023-02-04 21:22:22 +01:00
indexer only run analyze on indexing when work was done 2022-09-28 10:22:54 +02:00
server make sure PHP and Python reverse code does the same 2023-03-26 16:21:43 +02:00
tokenizer Merge pull request #2993 from biswajit-k/delete-tags 2023-03-09 14:31:45 +01:00
tools sp_wiki_loader: add more default languages 2023-02-18 13:54:48 +01:00
utils make sure PHP and Python reverse code does the same 2023-03-26 16:21:43 +02:00
__init__.py add skeleton for new Nominatim executables 2021-01-12 10:17:28 +01:00
cli.py add support for CORS headers 2023-01-24 21:39:19 +01:00
config.py implement command line status call in Python 2023-01-03 10:02:35 +01:00
errors.py add consistent SPDX copyright headers 2022-01-03 16:23:58 +01:00
paths.py introduce paths module which contains the data paths 2022-11-27 12:02:37 +01:00
typing.py python: implement reverse lookup function 2023-03-23 22:38:37 +01:00
version.py speed up reverse lookup of place nodes 2023-02-17 14:10:01 +01:00