Class SolrService

java.lang.Object
org.tailormap.api.solr.SolrService

@Service public class SolrService extends Object
  • Constructor Details

    • SolrService

      public SolrService()
  • Method Details

    • getSolrClientForIndexing

      public org.apache.solr.client.solrj.SolrClient getSolrClientForIndexing()
      Get a concurrent update Solr client for bulk operations.
      Returns:
      the Solr client
    • getSolrClientForSearching

      public org.apache.solr.client.solrj.SolrClient getSolrClientForSearching()
      Get a Solr client for searching.
      Returns:
      the Solr client
    • setSolrUrl

      public void setSolrUrl(String solrUrl)