Interface SolrClientFactory

All Known Implementing Classes:
EmbeddedSolrServerFactory, EmbeddedSolrServerFactoryBean, HttpSolrClientFactory, HttpSolrClientFactoryBean
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface SolrClientFactory
SolrClientFactory replaces SolrServerFactory from version 1.x and provides access to the solrj SolrClient.
Since:
2.0
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.solr.client.solrj.SolrClient
    Get base SolrClient instance
  • Method Details

    • getSolrClient

      org.apache.solr.client.solrj.SolrClient getSolrClient()
      Get base SolrClient instance
      Returns:
      a reusable SolrClient instance