X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/118517b076c048b2e22a6fdf1394d127afcfa262..513bf485f20f0308c7f25c96717190a354bf0ec3:/settings/defaults.php diff --git a/settings/defaults.php b/settings/defaults.php index 81c19c74..8cdbcb5a 100644 --- a/settings/defaults.php +++ b/settings/defaults.php @@ -9,6 +9,7 @@ if (isset($_GET['debug']) && $_GET['debug']) @define('CONST_Debug', true); @define('CONST_Debug', false); @define('CONST_Database_DSN', 'pgsql://@/nominatim'); // ://:@:/ @define('CONST_Database_Web_User', 'www-data'); +@define('CONST_Database_Module_Path', CONST_InstallPath.'/module'); @define('CONST_Max_Word_Frequency', '50000'); @define('CONST_Limit_Reindexing', true); // Restrict search languages. @@ -20,7 +21,7 @@ if (isset($_GET['debug']) && $_GET['debug']) @define('CONST_Debug', true); // Rules for normalizing terms for comparison before doing comparisons. // The default is to remove accents and punctuation and to lower-case the // term. Spaces are kept but collapsed to one standard space. -@define('CONST_Term_Normalization_Rules', ":: NFD (); [:Nonspacing Mark:] >; :: lower (); [[:Punctuation:][:Space:]]+ > ' '; :: NFC ();"); +@define('CONST_Term_Normalization_Rules', ":: NFD (); [[:Nonspacing Mark:] [:Cf:]] >; :: lower (); [[:Punctuation:][:Space:]]+ > ' '; :: NFC ();"); // Set to false to avoid importing extra postcodes for the US. @define('CONST_Use_Extra_US_Postcodes', true);