Sarah Hoffmann
22800d7d59
Search housenumbers with unknown address parts by housenumber term
...
House numbers need special handling because they may appear after
the street term. That means we canot just use them as the main name
for searches where the address has its own search term entries.
Doing this right now, we are able to find '40, Main St, Town' but not
'Main St 40, Town'.
This switches to using the housenumber token as the name term instead.
House number tokens can get special handling when building the search
query that covers the case where they come after the street.
The main disadvantage is that this once more increases the numbers
of possible search interpretation of which we have already too many.
no penalty for housenumber searches
2020-11-25 11:36:10 +01:00
Sarah Hoffmann
7f55dcef3a
use simpler recurse operator for overpass download
...
Also fixes a typo in the OSM link.
2020-10-31 21:44:28 +01:00
Sarah Hoffmann
ec5743bcc0
add script for detailed explaing of indexing trigger
2020-10-09 17:38:33 +02:00
Sarah Hoffmann
b969392f40
remove removed index from database check
2020-09-30 11:33:15 +02:00
Sarah Hoffmann
a4b30fc649
index admin boundaries before everything else
...
Avoids irregularities that might happen because the address
rank of a boundary is changed through linking.
2020-08-18 15:17:09 +02:00
Sarah Hoffmann
4b21cc1737
remove more traces of osmosis-init
2020-08-11 10:43:04 +02:00
Sarah Hoffmann
73566a9f15
remove unused functions from setup and update
...
Removes the defunct --osmosis-init and --no-api switches and the
unsupported (and unnecessary) deduplicate. Also removes
'experimental' from --setup-website as this is a required
function now.
2020-08-06 16:16:35 +02:00
Sarah Hoffmann
b78cd3f4c9
make indexing during updates less quiet
...
Adjust verbosity behaviour to that of indexing during setup.
2020-07-28 22:35:51 +02:00
Sarah Hoffmann
7837970303
remove connect() in update script
...
This is now implicit.
2020-07-26 12:27:52 +02:00
Sarah Hoffmann
8cd9550295
implicitly connect to database during setup
...
Make access to the DB object a function, so that the connection
can be opened implicitly when the object is accessed for the first
time. This way we no longer need to check beforehand if a specific
function of the setup needs DB access or not.
Also move the check for the module to the relevant sub step.
2020-07-26 11:56:00 +02:00
Sarah Hoffmann
354487d7f4
Merge pull request #1829 from krahulreddy/websiteSetup
...
Added setup-website option
2020-07-01 18:11:50 +02:00
Sarah Hoffmann
214f92c428
make phpcs happy
2020-06-28 18:24:29 +02:00
Sarah Hoffmann
ff1be13d0e
disable JIT and parallel processing for osm2pgsql in updates
...
This is known to cause issues because of bad indexing
statistics.
2020-06-28 18:06:06 +02:00
K Rahul Reddy
37f0b51dff
Updated setup.php
2020-06-27 10:45:53 +05:30
K Rahul Reddy
6c406124dd
Added setup-website option
2020-06-27 10:45:51 +05:30
marc tobias
f56bac350b
FAQ entry for PostgreSQL -invalid page in block-
2020-06-19 21:16:57 +02:00
Sarah Hoffmann
65ee7a8002
Merge pull request #1754 from mtmail/nominatim-db-tests-against-postgres
...
Nominatim::DB tests against separate postgresql database
2020-04-26 10:20:30 +02:00
Sarah Hoffmann
0b0349f746
Merge pull request #1752 from mtmail/new-oo-shell-class
...
new PHP Nominatim\Shell class to wrap shell escaping
2020-04-25 16:48:04 +02:00
Sarah Hoffmann
2740974a13
Merge pull request #1758 from krahulreddy/advanced-installations
...
Advanced installations
2020-04-22 09:59:44 +02:00
K Rahul Reddy
42c80893cb
Fix documentation links ( #1760 )
...
Update installation documentation link in VAGRANT.md, update.php
2020-04-19 00:42:24 +02:00
K Rahul Reddy
08e273c0c7
Added scripts for multiple country setup and updates
2020-04-17 21:50:59 +05:30
marc tobias
38c21de0ee
Nominatim::DB tests against separate postgresql database
2020-04-13 18:01:37 +02:00
marc tobias
fc40939775
new PHP Nominatim\Shell class to wrap shell escaping
2020-04-12 03:50:40 +02:00
Sarah Hoffmann
cbddfcde5b
add structured search to command-line query tool
2020-02-19 11:04:07 +01:00
Sarah Hoffmann
b9171dd10b
clean up intermediate tables earlier with --drop
...
When --drop is given, we can remove all node geometry information
already after the import with osm2pgsql. Also drop all unnecessary
tables before creating the final indices.
2020-02-12 11:03:20 +01:00
marc tobias
76082ac7cb
check_import_finished.php - reverse_only mode has less indices
2020-02-06 16:48:06 +01:00
Sarah Hoffmann
a8711ab013
fix verboseness of nominiatim script during updates
2020-01-31 18:18:50 +01:00
Sarah Hoffmann
2979c39628
also adapt indexing command in update script
2020-01-29 11:36:12 +01:00
Sarah Hoffmann
3ff6eccfd7
move trigger creation later in setup
2020-01-23 22:28:43 +01:00
Sarah Hoffmann
586ff0c364
Merge pull request #1638 from mtmail/check-for-invalid-indices
...
check_import_finished: check for invalid indices
2020-01-14 21:34:35 +01:00
Sarah Hoffmann
f3ba358d50
hint that invalid indices must be manually deleted
2020-01-14 21:33:09 +01:00
marc tobias
6b0afd5d9b
check_import_finished: check for invalid indices
2020-01-14 19:36:40 +01:00
marc tobias
850910ed9e
warm.php verbose mode was printing errors
2020-01-14 18:24:49 +01:00
marc tobias
7db0da40ad
new script utils/check_import_finished.php
2019-12-23 15:13:18 +01:00
marc tobias
2051a84a09
remove old wikidata script. See data-sources/wikipedia-wikidata/ for new process
2019-12-03 19:27:32 +01:00
Sarah Hoffmann
8d9aa9bf33
formatting: avoid long lines
2019-11-20 10:57:36 +01:00
Sarah Hoffmann
d53af96aa4
update documentation for new wikipedia data
2019-11-16 16:52:23 +01:00
Sarah Hoffmann
a1bcb28cea
also update wikipedia from linked places
2019-11-16 16:52:23 +01:00
Sarah Hoffmann
3fbba8b9db
add command for recomputing importance
2019-11-16 16:52:23 +01:00
Sarah Hoffmann
ff1c78fef5
Merge pull request #1502 from mtmail/specialphrases-quotes
...
Specialphrases quotes
2019-10-22 21:41:53 +02:00
TC Haddad
5e45e0b3d7
Gsoc2019 contributions for adding Wikidata to Nominatim ( #1475 )
...
Complete rewrite of wikipedia processing scripts, addition of processing wikidata, new data source, new documentation by @tchaddad during Google Summer of Code 2019 project.
2019-10-06 15:56:39 +08:00
marc tobias
9c872345d6
special phrases: use printf, line length below 120char
2019-09-19 01:12:42 +02:00
marc tobias
bd312fa747
special phrases: sometimes quotes are not escaped
2019-09-19 00:20:30 +02:00
Diego Pasqualin
a624f8b599
Fix python shebang following PEP 394 recommendation
2019-08-26 14:54:19 +02:00
Sarah Hoffmann
7753ba6019
require python 3 for all tools used in updates
2019-07-28 20:36:35 +02:00
marc tobias
0862e21a1b
utils/export.php broke after switch to PDO DB abstraction
2019-04-17 22:29:50 +02:00
Sarah Hoffmann
33ff96fd83
Merge pull request #1348 from mtmail/checkmodulepresence-to-raise-exception
...
checkModulePresence now raises exception instead of its callers
2019-04-14 11:25:52 +02:00
marc tobias
84149f26df
checkModulePresence now raises exception instead of its callers
2019-04-02 18:37:11 +02:00
marc tobias
2ab836c11c
PDO library returns proper boolean. We dont need string comparison
2019-04-02 16:52:37 +02:00
marc tobias
890d415e1f
Nominatim::DB support input variables, custom error messages
2019-03-10 16:56:36 +01:00