Class ConcurrentUpdateSolrClient

  • All Implemented Interfaces:
    Closeable, Serializable, AutoCloseable

    public class ConcurrentUpdateSolrClient
    extends SolrClient
    ConcurrentUpdateSolrClient buffers all added documents and writes them into open HTTP connections. This class is thread safe. Params from UpdateRequest are converted to http request parameters. When params change between UpdateRequests a new HTTP request is started. Although any SolrClient request can be made with this implementation, it is only recommended to use ConcurrentUpdateSolrClient with /update requests. The class HttpSolrClient is better suited for the query interface.
    See Also:
    Serialized Form