Class SolrMetricsFactory

java.lang.Object
com.lucidworks.cloud.api.solr.SolrMetricsFactory

public final class SolrMetricsFactory extends Object
Factory for native solr client to create a metrics collector based on type of request
  • Method Details

    • createMetrics

      public static SolrMetricsCollector createMetrics(org.apache.solr.client.solrj.SolrRequest request, String requestHandler)
      Based on the request will return appropriate metrics implementation.
      Parameters:
      request - concrete type of the request is checked, some of the properties of the request will be used to populate the SolrMetrics implementation
      requestHandler - can be null
      Returns: