X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/b6ff697ff005629727a46dcc4c32f6a4f554b21b..8fc3dd9457ba702511c65e9d14c8c5cdcdd9246f:/docs/customize/Settings.md?ds=sidebyside diff --git a/docs/customize/Settings.md b/docs/customize/Settings.md index 289433d6..ebfa2421 100644 --- a/docs/customize/Settings.md +++ b/docs/customize/Settings.md @@ -627,6 +627,23 @@ with a single query. Setting this parameter to 0 disables polygon output completely. + +#### NOMINATIM_SEARCH_WITHIN_COUNTRIES + +| Summary | | +| -------------- | --------------------------------------------------- | +| **Description:** | Disable search for elements that are not in the country grid | +| **Format:** | boolean | +| **Default:** | no | +| **After Changes:** | run `nominatim refresh --website` | + +Enable to search elements just within countries. + +When enabled, if, despite not finding a point within the static grid of countries, it +finds a geometry of a region, do not return the geometry. +Return "Unable to geocode" instead. + + ### Logging Settings #### NOMINATIM_LOG_DB @@ -666,7 +683,7 @@ The entries in the log file have the following format: "" Request time is the time when the request was started. The execution time is -given in ms and corresponds to the time the query took executing in PHP. +given in seconds and corresponds to the time the query took executing in PHP. type contains the name of the endpoint used. Can be used as the same time as NOMINATIM_LOG_DB.