Package com.yahoo.search.searchchain
Class ForkingSearcher
- java.lang.Object
-
- com.yahoo.component.AbstractComponent
-
- com.yahoo.component.chain.ChainedComponent
-
- com.yahoo.processing.Processor
-
- com.yahoo.search.Searcher
-
- com.yahoo.search.searchchain.ForkingSearcher
-
- All Implemented Interfaces:
com.yahoo.component.Component
,com.yahoo.component.Deconstructable
,Comparable<com.yahoo.component.Component>
- Direct Known Subclasses:
FederationSearcher
public abstract class ForkingSearcher extends Searcher
Searchers which invokes other search chains should override this.- Author:
- bratseth
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ForkingSearcher.CommentedSearchChain
A search chain with a comment about when it is used.
-
Constructor Summary
Constructors Constructor Description ForkingSearcher()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract Collection<ForkingSearcher.CommentedSearchChain>
getSearchChainsForwarded(SearchChainRegistry registry)
Returns which searchers this searcher may forward to, for debugging and tracing-
Methods inherited from class com.yahoo.search.Searcher
ensureFilled, fill, getLogger, process, search, toString
-
Methods inherited from class com.yahoo.component.chain.ChainedComponent
getAnnotatedDependencies, getDefaultAnnotatedDependencies, getDependencies, initDependencies
-
-
-
-
Method Detail
-
getSearchChainsForwarded
public abstract Collection<ForkingSearcher.CommentedSearchChain> getSearchChainsForwarded(SearchChainRegistry registry)
Returns which searchers this searcher may forward to, for debugging and tracing
-
-