Interface IndexSearcherStats

All Known Implementing Classes:
NoOpIndexSearcherStats, TotalAndSnapshotIndexSearcherStats

public interface IndexSearcherStats
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onDoc(long millis)
     
    void
    onGetHitCount(long millis)
    Collect stats for get hit count operation.
    void
    onGetNewSearcher(long millis)
     
    void
    onGetSearcherTotal(long millis)
     
    void
    onSearch(long millis)
     
    void
    onSearchStream(long millis)
    Collect stats for the search stream operation
  • Method Details

    • onSearch

      void onSearch(long millis)
    • onDoc

      void onDoc(long millis)
    • onGetSearcherTotal

      void onGetSearcherTotal(long millis)
    • onGetNewSearcher

      void onGetNewSearcher(long millis)
    • onSearchStream

      void onSearchStream(long millis)
      Collect stats for the search stream operation
      Parameters:
      millis - the time taken for the operation to produce the stream
      Since:
      10.6
    • onGetHitCount

      void onGetHitCount(long millis)
      Collect stats for get hit count operation.
      Parameters:
      millis - the time taken to perform the get hit count operation
      Since:
      10.4