Package gov.nysenate.openleg.services

Examples of gov.nysenate.openleg.services.Lucene


        }

        ArrayList<ServiceBase> services = new ArrayList<ServiceBase>();
        for (String target : pushTargets) {
            if (target.equals("lucene")) {
                services.add(new Lucene());
            }
            else if (target.equals("varnish")) {
                services.add(new Varnish("127.0.0.1", 80));
            }
            else if (target.equals("reporter")) {
View Full Code Here


        storage.flush();

        // push changes to lucene and varnish
        ArrayList<ServiceBase> services = new ArrayList<ServiceBase>();
        services.add(new Lucene());
        services.add(new Varnish("127.0.0.1", 80));

        DataProcessor process = new DataProcessor();
        process.push(storage, ChangeLogger.getEntries(), services);
View Full Code Here

TOP

Related Classes of gov.nysenate.openleg.services.Lucene

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.