Package net.sf.katta.tool.loadtest.query

Examples of net.sf.katta.tool.loadtest.query.LuceneSearchExecutor


    File resultDir = _temporaryFolder.newFolder("results");
    int startRate = 10;
    int endRate = 50;
    int step = 10;
    int runTime = 2000;
    LuceneSearchExecutor queryExecutor = new LuceneSearchExecutor(new String[] { "*" }, new String[] { "foo:bar",
            "notExists" }, _luceneCluster.getZkConfiguration(), 200);
    LoadTestMasterOperation loadTestOperation = new LoadTestMasterOperation(NODE_COUNT_LOADTEST, startRate, endRate,
            step, runTime, queryExecutor, resultDir);
    loadTestOperation.registerCompletion(_loadtestCluster.getProtocol());
    _loadtestCluster.getProtocol().addMasterOperation(loadTestOperation);
View Full Code Here

TOP

Related Classes of net.sf.katta.tool.loadtest.query.LuceneSearchExecutor

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.