Class DefaultUpdateClient

java.lang.Object
org.apache.solr.client.solrj.SolrClient
org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrClient
org.ametys.cms.search.solr.AbstractAmetysConcurrentUpdateClient
org.ametys.cms.search.solr.DefaultUpdateClient
All Implemented Interfaces:
Closeable, Serializable, AutoCloseable

Default update SolrClient which uses the Solr default Update Request Processor chain
See Also:
  • Constructor Details

    • DefaultUpdateClient

      public DefaultUpdateClient(String solrServerUrl, Optional<Integer> solrSocketTimeout, String collectionName, int queueSize, int threadCount, 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 Details