nominatim: enable name only search
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 25 Feb 2015 18:54:32 +0000 (19:54 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Wed, 25 Feb 2015 18:54:32 +0000 (19:54 +0100)
cookbooks/nominatim/templates/default/nominatim.erb

index 5782199..d1c3517 100644 (file)
@@ -11,6 +11,7 @@ else
 @define('CONST_Postgis_Version', '<%= node[:nominatim][:database][:postgis] %>');
 
 @define('CONST_Osm2pgsql_Flatnode_File', '<%= node[:nominatim][:flatnode_file] %>');
+@define('CONST_Search_NameOnlySearchFrequencyThreshold', 500);
 
 <% node[:nominatim][:tablespaces].each do |part,name| -%>
 @define('CONST_Tablespace_<%= part %>', '<%= name %>');