X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/8d6d813f6b8782c05a71980e0f139bbb18739c28..fb141e027a459e4e32d0ad71803ba2ac90d1d6f1:/settings/settings.php diff --git a/settings/settings.php b/settings/settings.php index f6aa5730..8ebd81ee 100644 --- a/settings/settings.php +++ b/settings/settings.php @@ -5,13 +5,14 @@ // General settings @define('CONST_Debug', false); @define('CONST_Database_DSN', 'pgsql://@/nominatim'); + @define('CONST_Max_Word_Frequency', '50000'); // Paths @define('CONST_Postgresql_Version', '9.1'); @define('CONST_Path_Postgresql_Contrib', '/usr/share/postgresql/'.CONST_Postgresql_Version.'/contrib'); @define('CONST_Path_Postgresql_Postgis', CONST_Path_Postgresql_Contrib.'/postgis-1.5'); @define('CONST_Osm2pgsql_Binary', CONST_BasePath.'/osm2pgsql/osm2pgsql'); - @define('CONST_Osmosis_Binary', CONST_BasePath.'/../osmosis-0.40.1/bin/osmosis'); + @define('CONST_Osmosis_Binary', '/usr/bin/osmosis'); // Website settings @define('CONST_BlockedIPs', ''); @@ -31,9 +32,13 @@ @define('CONST_Search_AreaPolygons_Enabled', true); @define('CONST_Search_AreaPolygons', true); + @define('CONST_Search_TryDroppedAddressTerms', false); @define('CONST_Suggestions_Enabled', false); + // Set to zero to disable polygon output + @define('CONST_PolygonOutput_MaximumTypes', 1); + // Log settings @define('CONST_Log_DB', true); @define('CONST_Log_File', false);