Another option might be to use a pre-existing web service... it should be relatively easy to add that to your dataimporthandler configuration (if you're using DIH, that is :-)
A quick google search gave me http://www.geonames.org; see http://www.geonames.org/export/ for API information. On Tue, Aug 6, 2013 at 11:18 AM, Christian Köhler - ZFMK <c.koeh...@zfmk.de>wrote: > Am 05.08.2013 15:52, schrieb Jack Krupansky: > >> You can write a brute force JavaScript script using the StatelessScript >> update processor that hard-codes the mapping. >> > > I'll probably do something like this. Unfortunately I have no influence > on the original db itself, so I have fix this in solr. > > Cheers > Chris > > > -- > Zoologisches Forschungsmuseum Alexander Koenig > - Leibniz-Institut für Biodiversität der Tiere - > Adenauerallee 160, 53113 Bonn, Germany > www.zfmk.de > > Stiftung des öffentlichen Rechts; Direktor: Prof. J. Wolfgang Wägele > Sitz: Bonn >