Package org.apache.lenya.lucene

Examples of org.apache.lenya.lucene.Publication


    protected void initParameters() {
        super.initParameters();
        this.numberOfPubs = Integer.parseInt(getParameterAsString("number-of-pubs"));
        Publication[] pubs = new Publication[this.numberOfPubs];
        for(int i = 0;i < pubs.length;i++) {
            pubs[i] = new Publication();
            pubs[i].id = getParameterAsString("pub"+i+"-id");
            pubs[i].name = getParameterAsString("pub"+i+"-name");
            pubs[i].indexDir = getParameterAsString("pub"+i+"-index-dir");
            pubs[i].searchFields = getParameterAsString("pub"+i+"-search-fields");
            pubs[i].excerptDir = getParameterAsString("pub"+i+"-excerpt-dir");
View Full Code Here

TOP

Related Classes of org.apache.lenya.lucene.Publication

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.