Class NoAutoCommitUpdateClient

    • Constructor Detail

      • NoAutoCommitUpdateClient

        public NoAutoCommitUpdateClient​(String solrServerUrl,
                                        Optional<Integer> solrSocketTimeout,
                                        String collectionName,
                                        int queueSize,
                                        int threadCount,
                                        org.slf4j.Logger logger)
        Constructor
        Parameters:
        solrServerUrl - The Solr server URL
        solrSocketTimeout - The Solr socket timeout (in millis)
        collectionName - The name of the collection, on which operations will be allowed. Operations on other collections will be forbidden.
        queueSize - The buffer size before the documents are sent to the server
        threadCount - The number of background threads used to empty the queue
        logger - internal logger
    • Method Detail

      • request

        public org.apache.solr.common.util.NamedList<Objectrequest​(org.apache.solr.client.solrj.SolrRequest request,
                                                                     String collection)
                                                              throws org.apache.solr.client.solrj.SolrServerException,
                                                                     IOException
        Overrides:
        request in class org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrClient
        Throws:
        org.apache.solr.client.solrj.SolrServerException
        IOException