Package org.opentripplanner.common

Examples of org.opentripplanner.common.LuceneIndex


    public GeocoderResource (@Context OTPServer otpServer, @PathParam("routerId") String routerId) {
        GraphIndex graphIndex = otpServer.graphService.getGraph(routerId).index;
        synchronized (graphIndex) {
            if (graphIndex.luceneIndex == null) {
                // Synchronously lazy-initialize the Lucene index
                graphIndex.luceneIndex = new LuceneIndex(graphIndex, false);
            }
            index = graphIndex.luceneIndex;
        }
    }
View Full Code Here

TOP

Related Classes of org.opentripplanner.common.LuceneIndex

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.