Package org.apache.stanbol.entityhub.yard.solr.impl

Examples of org.apache.stanbol.entityhub.yard.solr.impl.SolrYard


        config.setName("Solr Yard Test");
        config.setDescription("The Solr Yard instance used to execute the Unit Tests defined for the Yard Interface");
        //use the default Solr Index configuration for this tests
        config.setDefaultInitialisation(true);
        // create the Yard used for the tests
        yard = new SolrYard(config);
    }
View Full Code Here


            log.info("   ... use default Solr Configuration");
            solrYardConfig.setDefaultInitialisation(Boolean.TRUE);
        }
        try {
            log.info("   ... create SolrYard");
            this.solrYard = new SolrYard(solrYardConfig);
        } catch (YardException e) {
            throw new IllegalStateException("Unable to initialise SolrYard "+
                solrYardConfig.getId(),e);
        }
    }
View Full Code Here

        SolrYardConfig config = new SolrYardConfig(TEST_YARD_ID, TEST_SOLR_CORE_NAME);
        config.setDefaultInitialisation(false);
        config.setName("DBpedia.org default data");
        config.setDescription("Data used for the LDPath setup");
        // create the Yard used for the tests
        yard = new SolrYard(config);
        backend = new YardBackend(yard);
    }
View Full Code Here

TOP

Related Classes of org.apache.stanbol.entityhub.yard.solr.impl.SolrYard

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.