mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-12-25 22:12:45 +03:00
fbbdd31399
Creating and populating the word table is now the responsibility of the tokenizer. The get_maxwordfreq() function has been replaced with a simple template parameter to the SQL during function installation. The number is taken from the parameter list in the database to ensure that it is not changed after installation.
20 lines
554 B
SQL
20 lines
554 B
SQL
{% include('functions/utils.sql') %}
|
|
{% include('functions/ranking.sql') %}
|
|
{% include('functions/importance.sql') %}
|
|
{% include('functions/address_lookup.sql') %}
|
|
{% include('functions/interpolation.sql') %}
|
|
|
|
{% if 'place' in db.tables %}
|
|
{% include 'functions/place_triggers.sql' %}
|
|
{% endif %}
|
|
|
|
{% if 'placex' in db.tables %}
|
|
{% include 'functions/placex_triggers.sql' %}
|
|
{% endif %}
|
|
|
|
{% if 'location_postcode' in db.tables %}
|
|
{% include 'functions/postcode_triggers.sql' %}
|
|
{% endif %}
|
|
|
|
{% include('functions/partition-functions.sql') %}
|