Class V2QueryExecutionEvent

java.lang.Object
com.atlassian.confluence.event.events.search.V2QueryExecutionEvent

public class V2QueryExecutionEvent extends Object
  • Constructor Details

  • Method Details

    • getDurationMillis

      public long getDurationMillis()
    • getTotalHits

      public long getTotalHits()
      Returns:
      The total result hits found for the search query.
    • getStartOffset

      public int getStartOffset()
      Returns:
      The start offset (zero based) for the results being sent back to the caller.
    • getLimit

      public int getLimit()
      Returns:
      Maximum number of results to be returned to the caller.
    • getSearchIndexes

      public Set<SearchIndex> getSearchIndexes()
      Returns:
      which indexes were targeted for this particular search.
    • getFilterPreparationDurationMillis

      public long getFilterPreparationDurationMillis()
      Returns:
      duration of filters preparation.
    • getIndexScanningDurationMillis

      public long getIndexScanningDurationMillis()
      Returns:
      duration of scanning lucene documents.
    • getSearchPlatform

      public SearchPlatform getSearchPlatform()
      Returns:
      search platform in use