Class V2QueryExecutionEvent
java.lang.Object
com.atlassian.confluence.event.events.search.V2QueryExecutionEvent
-
Constructor Summary
ConstructorsConstructorDescriptionV2QueryExecutionEvent(long durationMillis, long filterPreparationDurationMillis, long indexScanningDurationMillis, int totalHits, int startOffset, int limit, Set<SearchIndex> searchIndexes, SearchPlatform searchPlatform) -
Method Summary
-
Constructor Details
-
V2QueryExecutionEvent
public V2QueryExecutionEvent(long durationMillis, long filterPreparationDurationMillis, long indexScanningDurationMillis, int totalHits, int startOffset, int limit, Set<SearchIndex> searchIndexes, SearchPlatform searchPlatform) - Since:
- 8.8
-
-
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
- 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
- Returns:
- search platform in use
-