Package gov.nysenate.openleg.lucene

Examples of gov.nysenate.openleg.lucene.Lucene.search()


        else {
            searchtext = "";
        }

        Lucene lucene = Application.getLucene();
        SenateResponse luceneResults = lucene.search(query, 0, 1000, "published", true);
        ApiHelper.buildSearchResultList(luceneResults);
        ArrayList<Transcript> transcripts = new ArrayList<Transcript>();
        for (Result result : luceneResults.getResults()) {
            transcripts.add((Transcript)result.getObject());
        }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.