Package com.yahoo.search.query.rewrite
Class SearchChainDispatcherSearcher
- java.lang.Object
-
- com.yahoo.component.AbstractComponent
-
- com.yahoo.component.chain.ChainedComponent
-
- com.yahoo.processing.Processor
-
- com.yahoo.search.Searcher
-
- com.yahoo.search.query.rewrite.SearchChainDispatcherSearcher
-
- All Implemented Interfaces:
com.yahoo.component.Component
,com.yahoo.component.Deconstructable
,java.lang.Comparable<com.yahoo.component.Component>
public class SearchChainDispatcherSearcher extends Searcher
Execute rewriter search chain specified by the user. It's inteneded to be used for executing rewriter search chains for different markets.- Author:
- Karen Sze Wing Lee
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.logging.Logger
logger
-
Constructor Summary
Constructors Constructor Description SearchChainDispatcherSearcher()
Constructor for unit testSearchChainDispatcherSearcher(com.yahoo.component.ComponentId id)
Constructor for this searcher
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Result
search(Query query, Execution execution)
Execute another search chain specified by the user
- Retrieve search chain specified by the user through param
- Execute specified search chain if exist-
Methods inherited from class com.yahoo.search.Searcher
ensureFilled, fill, getLogger, process, toString
-
Methods inherited from class com.yahoo.component.chain.ChainedComponent
getAnnotatedDependencies, getDefaultAnnotatedDependencies, getDependencies, initDependencies
-
-
-
-
Constructor Detail
-
SearchChainDispatcherSearcher
public SearchChainDispatcherSearcher(com.yahoo.component.ComponentId id)
Constructor for this searcher- Parameters:
id
- Component ID (see vespa's search container doc for more detail)
-
SearchChainDispatcherSearcher
public SearchChainDispatcherSearcher()
Constructor for unit test
-
-