Package org.springframework.data.solr.repository.support

Examples of org.springframework.data.solr.repository.support.SimpleSolrRepository


  @Test
  public void bootstrapsRepository() throws Exception {

    Assume.assumeTrue(repository instanceof Advised);

    SimpleSolrRepository simpleSolrRepository = (SimpleSolrRepository) ((Advised) repository).getTargetSource()
        .getTarget();
    SolrTemplate solrTemplate = (SolrTemplate) simpleSolrRepository.getSolrOperations();
    solrTemplate.getSchemaCreationFeatures().contains(Feature.CREATE_MISSING_FIELDS);

    Assert.assertThat(repository, is(notNullValue()));
  }
View Full Code Here

TOP

Related Classes of org.springframework.data.solr.repository.support.SimpleSolrRepository

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.