Package de.komoot.photon.importer.elasticsearch

Examples of de.komoot.photon.importer.elasticsearch.Importer


      return;
    }

    if(args.isNominatimImport()) {
      esServer.recreateIndex(); // dump previous data
      Importer importer = new Importer(esNodeClient);
      NominatimConnector nominatimConnector = new NominatimConnector(args.getHost(), args.getPort(), args.getDatabase(), args.getUser(), args.getPassword());
      nominatimConnector.setImporter(importer);
      nominatimConnector.readEntireDatabase();
      log.info("imported data from nominatim to photon.");
      return;
View Full Code Here

TOP

Related Classes of de.komoot.photon.importer.elasticsearch.Importer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.