Class ModifiedLBHttpSolrClient
- java.lang.Object
-
- org.apache.solr.client.solrj.SolrClient
-
- org.apache.solr.client.solrj.impl.LBSolrClient
-
- org.apache.solr.client.solrj.impl.LBHttpSolrClient
-
- org.apache.manifoldcf.agents.output.solr.ModifiedLBHttpSolrClient
-
- All Implemented Interfaces:
java.io.Closeable,java.io.Serializable,java.lang.AutoCloseable
public class ModifiedLBHttpSolrClient extends org.apache.solr.client.solrj.impl.LBHttpSolrClientThis class overrides and somewhat changes the behavior of the SolrJ LBHttpSolrServer class. This is so it instantiates our modified HttpSolrServer class, so that multipart forms work.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ModifiedLBHttpSolrClient(boolean allowCompression, java.lang.String... solrServerUrls)ModifiedLBHttpSolrClient(org.apache.http.client.HttpClient httpClient, boolean allowCompression, java.lang.String... solrServerUrl)The provided httpClient should use a multi-threaded connection managerModifiedLBHttpSolrClient(org.apache.http.client.HttpClient httpClient, org.apache.solr.client.solrj.ResponseParser parser, boolean allowCompression, java.lang.String... solrServerUrl)The provided httpClient should use a multi-threaded connection manager
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.solr.client.solrj.impl.HttpSolrClientmakeSolrClient(java.lang.String server)-
Methods inherited from class org.apache.solr.client.solrj.impl.LBHttpSolrClient
close, getClient, getHttpClient, removeSolrServer, request, setConnectionTimeout, setSoTimeout
-
Methods inherited from class org.apache.solr.client.solrj.impl.LBSolrClient
addQueryParams, addSolrServer, createServerWrapper, doRequest, getParser, getQueryParams, getRequestWriter, normalize, pickServer, request, request, request, setAliveCheckInterval, setParser, setQueryParams, setRequestWriter, updateAliveList
-
Methods inherited from class org.apache.solr.client.solrj.SolrClient
add, add, add, add, add, add, add, add, add, add, addBean, addBean, addBean, addBean, addBeans, addBeans, addBeans, addBeans, addBeans, addBeans, commit, commit, commit, commit, commit, commit, deleteById, deleteById, deleteById, deleteById, deleteById, deleteById, deleteById, deleteById, deleteByQuery, deleteByQuery, deleteByQuery, deleteByQuery, getBinder, getById, getById, getById, getById, getById, getById, getById, getById, optimize, optimize, optimize, optimize, optimize, optimize, ping, ping, query, query, query, query, queryAndStreamResponse, queryAndStreamResponse, queryAndStreamResponse, request, rollback, rollback
-
-
-
-
Constructor Detail
-
ModifiedLBHttpSolrClient
public ModifiedLBHttpSolrClient(boolean allowCompression, java.lang.String... solrServerUrls) throws java.net.MalformedURLException- Throws:
java.net.MalformedURLException
-
ModifiedLBHttpSolrClient
public ModifiedLBHttpSolrClient(org.apache.http.client.HttpClient httpClient, boolean allowCompression, java.lang.String... solrServerUrl) throws java.net.MalformedURLExceptionThe provided httpClient should use a multi-threaded connection manager- Throws:
java.net.MalformedURLException
-
ModifiedLBHttpSolrClient
public ModifiedLBHttpSolrClient(org.apache.http.client.HttpClient httpClient, org.apache.solr.client.solrj.ResponseParser parser, boolean allowCompression, java.lang.String... solrServerUrl) throws java.net.MalformedURLExceptionThe provided httpClient should use a multi-threaded connection manager- Throws:
java.net.MalformedURLException
-
-