Class V2QueryExecutionEvent
- java.lang.Object
-
- com.atlassian.confluence.event.events.search.V2QueryExecutionEvent
-
public class V2QueryExecutionEvent extends Object
-
-
Constructor Summary
Constructors Constructor Description V2QueryExecutionEvent(long startMillis, long endMillis, int totalHits, int startOffset, int limit)
Deprecated.since 7.9, useV2QueryExecutionEvent(long, long, int, int, int, Set)
V2QueryExecutionEvent(long startMillis, long endMillis, int totalHits, int startOffset, int limit, Set<SearchIndex> searchIndexes)
Deprecated.since 7.11, useV2QueryExecutionEvent(long, long, long, int, int, int, Set)
V2QueryExecutionEvent(long durationMillis, long filterPreparationDurationMillis, long indexScanningDurationMillis, int totalHits, int startOffset, int limit, Set<SearchIndex> searchIndexes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getDurationMillis()
long
getFilterPreparationDurationMillis()
long
getIndexScanningDurationMillis()
int
getLimit()
Set<SearchIndex>
getSearchIndexes()
int
getStartOffset()
long
getTotalHits()
-
-
-
Constructor Detail
-
V2QueryExecutionEvent
public V2QueryExecutionEvent(long durationMillis, long filterPreparationDurationMillis, long indexScanningDurationMillis, int totalHits, int startOffset, int limit, Set<SearchIndex> searchIndexes)
- Since:
- 7.11.0
-
V2QueryExecutionEvent
@Deprecated public V2QueryExecutionEvent(long startMillis, long endMillis, int totalHits, int startOffset, int limit, Set<SearchIndex> searchIndexes)
Deprecated.since 7.11, useV2QueryExecutionEvent(long, long, long, int, int, int, Set)
- Since:
- 7.9.0
-
V2QueryExecutionEvent
@Deprecated public V2QueryExecutionEvent(long startMillis, long endMillis, int totalHits, int startOffset, int limit)
Deprecated.since 7.9, useV2QueryExecutionEvent(long, long, int, int, int, Set)
-
-
Method Detail
-
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.
-
-