|
Spring Data Solr | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.data.solr.server.support.HttpSolrServerFactory
public class HttpSolrServerFactory
The HttpSolrServerFactory configures an HttpSolrServer to work with the provided core. If provided
Credentials eg. (@link UsernamePasswordCredentials} and AuthPolicy (eg. BASIC, DIGEST,...) will be applied to the
underlying HttpClient.
| Constructor Summary | |
|---|---|
protected |
HttpSolrServerFactory()
|
|
HttpSolrServerFactory(org.apache.solr.client.solrj.SolrServer solrServer)
|
|
HttpSolrServerFactory(org.apache.solr.client.solrj.SolrServer solrServer,
String core)
|
|
HttpSolrServerFactory(org.apache.solr.client.solrj.SolrServer solrServer,
String core,
org.apache.http.auth.Credentials credentials,
String authPolicy)
|
| Method Summary | |
|---|---|
protected void |
appendCoreToBaseUrl(String core,
org.apache.solr.client.solrj.SolrServer solrServer)
|
void |
destroy()
|
protected void |
destroy(org.apache.solr.client.solrj.SolrServer server)
|
List<String> |
getCores()
Get list of cores |
org.apache.solr.client.solrj.SolrServer |
getSolrServer()
Get base SolrServer instance |
org.apache.solr.client.solrj.SolrServer |
getSolrServer(String core)
returns the reference solrServer |
protected boolean |
isHttpSolrServer(org.apache.solr.client.solrj.SolrServer solrServer)
|
void |
setSolrServer(org.apache.solr.client.solrj.SolrServer solrServer)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected HttpSolrServerFactory()
public HttpSolrServerFactory(org.apache.solr.client.solrj.SolrServer solrServer)
public HttpSolrServerFactory(org.apache.solr.client.solrj.SolrServer solrServer,
String core)
public HttpSolrServerFactory(org.apache.solr.client.solrj.SolrServer solrServer,
String core,
org.apache.http.auth.Credentials credentials,
String authPolicy)
| Method Detail |
|---|
public List<String> getCores()
SolrServerFactory
public org.apache.solr.client.solrj.SolrServer getSolrServer(String core)
SolrServerFactory.getSolrServer()
protected void appendCoreToBaseUrl(String core,
org.apache.solr.client.solrj.SolrServer solrServer)
protected final boolean isHttpSolrServer(org.apache.solr.client.solrj.SolrServer solrServer)
public org.apache.solr.client.solrj.SolrServer getSolrServer()
SolrServerFactorySolrServer instance
getSolrServer in interface SolrServerFactorypublic void setSolrServer(org.apache.solr.client.solrj.SolrServer solrServer)
public void destroy()
destroy in interface DisposableBeanprotected void destroy(org.apache.solr.client.solrj.SolrServer server)
server -
|
Spring Data Solr | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||