Package org.tailormap.api.solr
Class SolrService
java.lang.Object
org.tailormap.api.solr.SolrService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.solr.client.solrj.SolrClient
Get a concurrent update Solr client for bulk operations.org.apache.solr.client.solrj.SolrClient
Get a Solr client for searching.void
setSolrUrl
(String solrUrl)
-
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
-