public class ShardSearchService extends AbstractIndexShardComponent
componentSettings, indexSettings, logger, shardId
Constructor and Description |
---|
ShardSearchService(ShardId shardId,
Settings indexSettings,
ShardSlowLogSearchService slowLogSearchService) |
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 |
onNewContext(SearchContext context) |
void |
onPreFetchPhase(SearchContext searchContext) |
void |
onPreQueryPhase(SearchContext searchContext) |
void |
onQueryPhase(SearchContext searchContext,
long tookInNanos) |
SearchStats |
stats(String... groups)
Returns the stats, including group specific stats.
|
indexSettings, nodeName, shardId
@Inject public ShardSearchService(ShardId shardId, @IndexSettings Settings indexSettings, ShardSlowLogSearchService slowLogSearchService)
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)
Copyright © 2009–2015. All rights reserved.