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 57821994c687296e7220ba52643176ea59c65e58..d1c3517e628ed4bcb69cbde09a4e64af4574a14d 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 %>');