[Photon] language support

Christoph Lingg christoph at lingg.eu
Sat Nov 1 16:30:32 UTC 2014


Hi Eran,

it is possible but we have not yet put much effort in making it easily configurable. So you need to change some code by yourself.

This is for the import from nominatim to the elastic search index:
https://github.com/komoot/photon/blob/master/src/main/java/de/komoot/photon/importer/Utils.java#L25 <https://github.com/komoot/photon/blob/master/src/main/java/de/komoot/photon/importer/Utils.java#L25>

These are the elasticsearch’s mapping files:
https://github.com/komoot/photon/blob/master/es/mappings.json#L89 <https://github.com/komoot/photon/blob/master/es/mappings.json#L89>

The request parsing:
https://github.com/komoot/photon/blob/master/src/main/java/de/komoot/photon/importer/RequestHandler.java#L22 <https://github.com/komoot/photon/blob/master/src/main/java/de/komoot/photon/importer/RequestHandler.java#L22>

That should have been all parts.

Cheers,
Christoph

> Am 01.11.2014 um 17:17 schrieb Eran Balter <eran at sparking.co.il>:
> 
> Hello
> 
> Can you describe please the steps required to add support in Hebrew language?
> 
> _______________________________________________
> Photon mailing list
> Photon at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/photon

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/photon/attachments/20141101/7f9b92d4/attachment.html>


More information about the Photon mailing list