Package org.lilyproject.solrtestfw

Examples of org.lilyproject.solrtestfw.SolrTestingUtility


        return 0;
    }

    @Override
    public int start(List<String> postStartupInfo) throws Exception {
        solrTestingUtility = new SolrTestingUtility(testHome, clearData, enableSolrCloud);
        solrTestingUtility.setAutoCommitSetting(autoCommitSetting);

        byte[] schemaData = schema == null ? null : FileUtils.readFileToByteArray(new File(schema));
        byte[] solrConfigData = solrConfig == null ? null : FileUtils.readFileToByteArray(new File(solrConfig));
        solrTestingUtility.setSolrDefinition(new SolrDefinition(schemaData, solrConfigData));
View Full Code Here

TOP

Related Classes of org.lilyproject.solrtestfw.SolrTestingUtility

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.