[Photon] photon search suggestions

Sarah Hoffmann lonvia at denofr.de
Fri Oct 26 21:58:27 UTC 2018


Hi,

to add to Holger's answer.

On Fri, Oct 26, 2018 at 03:49:47PM +0200, Wolfgang Reichert wrote:
> we installed a photon server in our environment and used the search index
> download link
> (http://download1.graphhopper.com/public/photon-db-latest.tar.bz2)
> as well as a search index created by the Nominatim-Importer from our
> Nominatim database.
> 
> *May be somebody can help me with these questions:*
> 
>  * The results from the downloaded search index do not contain
>    suburb-information
> 
> Example:  searching for "odenwaldstr breitendiel"    (where "breitendiel is
> a suburb of "Miltenberg")
>                     Photon delivers only "Odenwaldstr Miltenberg"
> 
>     If we use the search index build on our Nominatim database, we receive
> "Odenwaldstr Breitendiel"
> 
> Looking with an Elastic Search Viewer to both of the indexes shows, that the
> relevant documents
>     in the downloaded search index contain the attribute "city" =
> "Miltenbert", whereas in the search index
>     from our Nominatim database "city" = "Breitendiel".
> 
>     In Our Nominatim database I can see, that there are entries with
> "type=>village" and "name=>Breitendiel"
>     which probably is the reason, that Breitendiel is used as "city" in the
> index built on our Nominatim DB.

Yes, it is. It is not unusual that you see these differences. The server that creates
the extracts very likely runs a different version of Nominatim (a year old,
in fact). It also has a slightly different database because the data diverges
a little bit when a database is kept current with minutely or hourly updates.

Kind regards

Sarah



More information about the Photon mailing list