public class SOLRAdminClient extends Object implements org.springframework.context.ApplicationEventPublisherAware, org.springframework.beans.factory.DisposableBean
Constructor and Description |
---|
SOLRAdminClient() |
Modifier and Type | Method and Description |
---|---|
org.apache.solr.client.solrj.response.QueryResponse |
basicQuery(org.apache.solr.common.params.ModifiableSolrParams params) |
void |
destroy() |
List<String> |
getRegisteredCores() |
void |
init() |
org.apache.solr.client.solrj.response.QueryResponse |
query(org.apache.solr.common.params.ModifiableSolrParams params) |
void |
setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher) |
void |
setBaseUrl(String baseUrl) |
void |
setHttpClientFactory(org.alfresco.httpclient.HttpClientFactory httpClientFactory) |
void |
setScheduler(org.quartz.Scheduler scheduler) |
void |
setSolrConnectTimeout(String solrConnectTimeout) |
void |
setSolrHost(String solrHost) |
void |
setSolrPassword(String solrPassword) |
void |
setSolrPingCronExpression(String solrPingCronExpression) |
void |
setSolrPort(String solrPort) |
void |
setSolrsslPort(int solrSSLPort) |
void |
setSolrUser(String solrUser) |
public void setSolrHost(String solrHost)
public void setSolrPort(String solrPort)
public void setSolrsslPort(int solrSSLPort)
public void setSolrUser(String solrUser)
public void setSolrPassword(String solrPassword)
public void setSolrConnectTimeout(String solrConnectTimeout)
public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
setApplicationEventPublisher
in interface org.springframework.context.ApplicationEventPublisherAware
public void setSolrPingCronExpression(String solrPingCronExpression)
public void setHttpClientFactory(org.alfresco.httpclient.HttpClientFactory httpClientFactory)
public void setBaseUrl(String baseUrl)
public void setScheduler(org.quartz.Scheduler scheduler)
scheduler
- the scheduler to setpublic void init()
public org.apache.solr.client.solrj.response.QueryResponse basicQuery(org.apache.solr.common.params.ModifiableSolrParams params)
public org.apache.solr.client.solrj.response.QueryResponse query(org.apache.solr.common.params.ModifiableSolrParams params) throws org.apache.solr.client.solrj.SolrServerException
org.apache.solr.client.solrj.SolrServerException
Copyright © 2005–2017 Alfresco Software. All rights reserved.