Interface SearchEngineResultMetadata

All Known Subinterfaces:
SearchEngineResultSet
All Known Implementing Classes:
SolrJSONResultSet, SolrSQLJSONResultSet, SolrStatsResult

public interface SearchEngineResultMetadata
Additional metadata ops available for ResultSet coming from a search engine.
Since:
5.0
Author:
Gethin James
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Total number of items matching a the current query execution.
    Returns the query execution time, or put in other words, the amount of time the search engine spent for processing the request.
  • Method Details

    • getQueryTime

      Long getQueryTime()
      Returns the query execution time, or put in other words, the amount of time the search engine spent for processing the request.
      Returns:
      the query execution time
    • getNumberFound

      long getNumberFound()
      Total number of items matching a the current query execution.
      Returns:
      the number of items in the search index that matched a query execution.