X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/e9d337c2a49d120a8dcb508879d74f6bab5b84d9..a884ecbc667c29750d26ca2ad8f325f857ead5d3:/cookbooks/nominatim/templates/default/nominatim.erb?ds=inline diff --git a/cookbooks/nominatim/templates/default/nominatim.erb b/cookbooks/nominatim/templates/default/nominatim.erb index 57821994c..6e911223d 100644 --- a/cookbooks/nominatim/templates/default/nominatim.erb +++ b/cookbooks/nominatim/templates/default/nominatim.erb @@ -11,10 +11,11 @@ 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 %>'); <% end -%> -@define('CONST_Log_File', '/var/log/nominatim/query.log'); +@define('CONST_Log_File', '<%= node[:nominatim][:logdir] %>/query.log'); @define('CONST_Log_DB', false);