Package org.lilyproject.indexer.model.indexerconf

Examples of org.lilyproject.indexer.model.indexerconf.LilyIndexerConf


        repositoryManager = FakeRepositoryManager.bootstrapRepositoryManager();
        repository = repositoryManager.getDefaultRepository();
       
        JsonImport.loadSchema(repository, LilyResultToSolrMapperTest.class.getResourceAsStream("schema.json"));

        LilyIndexerConf conf = LilyIndexerConfBuilder.build(LilyResultToSolrMapperTest.class.getResourceAsStream("indexer-conf.xml"), repository);
        // the zookeeper argument is only needed when there are deref expressions, hence it's ok to pass 'null'
        mapper = new LilyResultToSolrMapper("testindex", conf, repositoryManager, null);
        mapper.configure(Maps.<String, String>newHashMap());

        solrUpdateWriter = new FakeSolrUpdateWriter();
View Full Code Here

TOP

Related Classes of org.lilyproject.indexer.model.indexerconf.LilyIndexerConf

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.