public final class ShardSearchStats extends Object
Constructor and Description |
---|
ShardSearchStats(Settings indexSettings) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
onFailedFetchPhase(SearchContext searchContext) |
void |
onFailedQueryPhase(SearchContext searchContext) |
void |
onFetchPhase(SearchContext searchContext,
long tookInNanos) |
void |
onFreeContext(SearchContext context) |
void |
onFreeScrollContext(SearchContext context) |
void |
onNewContext(SearchContext context) |
void |
onNewScrollContext(SearchContext context) |
void |
onPreFetchPhase(SearchContext searchContext) |
void |
onPreQueryPhase(SearchContext searchContext) |
void |
onQueryPhase(SearchContext searchContext,
long tookInNanos) |
void |
onRefreshSettings(Settings settings) |
SearchStats |
stats(String... groups)
Returns the stats, including group specific stats.
|
public ShardSearchStats(Settings indexSettings)
public SearchStats stats(String... groups)
public void onPreQueryPhase(SearchContext searchContext)
public void onFailedQueryPhase(SearchContext searchContext)
public void onQueryPhase(SearchContext searchContext, long tookInNanos)
public void onPreFetchPhase(SearchContext searchContext)
public void onFailedFetchPhase(SearchContext searchContext)
public void onFetchPhase(SearchContext searchContext, long tookInNanos)
public void clear()
public void onNewContext(SearchContext context)
public void onFreeContext(SearchContext context)
public void onNewScrollContext(SearchContext context)
public void onFreeScrollContext(SearchContext context)
public void onRefreshSettings(Settings settings)
Copyright © 2009–2017. All rights reserved.