List of usage examples for org.springframework.data.solr.repository ExampleSolrBeanRepository ExampleSolrBeanRepository
ExampleSolrBeanRepository
From source file:org.springframework.data.solr.repository.ITestSimpleSolrRepository.java
@Before public void setUp() { repository = new ExampleSolrBeanRepository(); SolrTemplate template = new SolrTemplate(solrServer, null); template.afterPropertiesSet();//from www . j a v a 2 s . c om repository.setSolrOperations(template); }