org.elasticsearch.index.search.stats
Class ShardSearchService
java.lang.Object
org.elasticsearch.index.shard.AbstractIndexShardComponent
org.elasticsearch.index.search.stats.ShardSearchService
- All Implemented Interfaces:
- IndexShardComponent
public class ShardSearchService
- extends AbstractIndexShardComponent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShardSearchService
@Inject
public ShardSearchService(ShardId shardId,
@IndexSettings
Settings indexSettings,
ShardSlowLogSearchService slowLogSearchService)
stats
public SearchStats stats(String... groups)
- Returns the stats, including group specific stats. If the groups are null/0 length, then nothing
is returned for them. If they are set, then only groups provided will be returned, or
_all for all groups.
onPreQueryPhase
public void onPreQueryPhase(SearchContext searchContext)
onFailedQueryPhase
public void onFailedQueryPhase(SearchContext searchContext)
onQueryPhase
public void onQueryPhase(SearchContext searchContext,
long tookInNanos)
onPreFetchPhase
public void onPreFetchPhase(SearchContext searchContext)
onFailedFetchPhase
public void onFailedFetchPhase(SearchContext searchContext)
onFetchPhase
public void onFetchPhase(SearchContext searchContext,
long tookInNanos)
clear
public void clear()
Copyright © 2009-2012. All Rights Reserved.