All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.marklogic.client.query.SearchMetrics Maven / Gradle / Ivy

The newest version!
/*
 * Copyright © 2024 MarkLogic Corporation. All Rights Reserved.
 */
package com.marklogic.client.query;

/**
 * A SearchMetrics object represents the query metrics returned by a search.
 */
public interface SearchMetrics {
  /**
   * Returns the query resolution time in milliseconds.
   * @return The query resolution time.
   */
  long getQueryResolutionTime();

  /**
   * Returns the facet resolution time in milliseconds.
   * @return The facet resolution time.
   */
  long getFacetResolutionTime();

  /**
   * Returns the snippet resolution time in milliseconds.
   * @return The snippet resolution time.
   */
  long getSnippetResolutionTime();

  /**
   * Returns the extract resolution time in milliseconds.
   * @return The extract resolution time.
   */
  long getExtractResolutionTime();

  /**
   * Returns the total time taken by the query in milliseconds.
   * @return The total time.
   */
  long getTotalTime();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy