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.chain.model.Chainable
,com.yahoo.component.Component
,com.yahoo.component.Deconstructable
,Comparable<com.yahoo.component.Component>
- Direct Known Subclasses:
FederationSearcher
Searchers which invokes other search chains should override this.
- Author:
- bratseth
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A search chain with a comment about when it is used. -
Field Summary
Fields inherited from class com.yahoo.component.AbstractComponent
isDeconstructable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetSearchChainsForwarded
(SearchChainRegistry registry) Returns which searchers this searcher may forward to, for debugging and tracingMethods inherited from class com.yahoo.search.Searcher
ensureFilled, fill, getLogger, process, search, toString
Methods inherited from class com.yahoo.component.chain.ChainedComponent
getDependencies, initDependencies
Methods inherited from class com.yahoo.component.AbstractComponent
clone, compareTo, deconstruct, getClassName, getId, getIdString, hasInitializedId, initId, isDeconstructable, setIsDeconstructable
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.yahoo.component.chain.model.Chainable
getAnnotatedDependencies
-
Constructor Details
-
ForkingSearcher
public ForkingSearcher()
-
-
Method Details
-
getSearchChainsForwarded
public abstract Collection<ForkingSearcher.CommentedSearchChain> getSearchChainsForwarded(SearchChainRegistry registry) Returns which searchers this searcher may forward to, for debugging and tracing
-