Package com.yahoo.application.container
Class Search
- java.lang.Object
-
- com.yahoo.application.container.ProcessingBase<com.yahoo.search.Query,com.yahoo.search.Result,com.yahoo.search.Searcher>
-
- com.yahoo.application.container.Search
-
public final class Search extends ProcessingBase<com.yahoo.search.Query,com.yahoo.search.Result,com.yahoo.search.Searcher>
- Author:
- Einar M R Rosenvinge, gjoranv
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.yahoo.processing.rendering.Renderer<com.yahoo.search.Result>
doGetRenderer(com.yahoo.component.ComponentSpecification spec)
protected com.yahoo.search.Result
doProcess(com.yahoo.component.chain.Chain<com.yahoo.search.Searcher> chain, com.yahoo.search.Query request)
protected CompletableFuture<Boolean>
doProcessAndRender(com.yahoo.component.ComponentSpecification chainSpec, com.yahoo.search.Query request, com.yahoo.processing.rendering.Renderer<com.yahoo.search.Result> renderer, ByteArrayOutputStream stream)
com.yahoo.processing.execution.chain.ChainRegistry<com.yahoo.search.Searcher>
getChains()
Returns a registry of configured chains-
Methods inherited from class com.yahoo.application.container.ProcessingBase
getChain, getRenderer, process, processAndRender
-
-
-
-
Method Detail
-
getChains
public com.yahoo.processing.execution.chain.ChainRegistry<com.yahoo.search.Searcher> getChains()
Description copied from class:ProcessingBase
Returns a registry of configured chains- Specified by:
getChains
in classProcessingBase<com.yahoo.search.Query,com.yahoo.search.Result,com.yahoo.search.Searcher>
-
doProcess
protected com.yahoo.search.Result doProcess(com.yahoo.component.chain.Chain<com.yahoo.search.Searcher> chain, com.yahoo.search.Query request)
- Specified by:
doProcess
in classProcessingBase<com.yahoo.search.Query,com.yahoo.search.Result,com.yahoo.search.Searcher>
-
doProcessAndRender
protected CompletableFuture<Boolean> doProcessAndRender(com.yahoo.component.ComponentSpecification chainSpec, com.yahoo.search.Query request, com.yahoo.processing.rendering.Renderer<com.yahoo.search.Result> renderer, ByteArrayOutputStream stream) throws IOException
- Specified by:
doProcessAndRender
in classProcessingBase<com.yahoo.search.Query,com.yahoo.search.Result,com.yahoo.search.Searcher>
- Throws:
IOException
-
doGetRenderer
protected com.yahoo.processing.rendering.Renderer<com.yahoo.search.Result> doGetRenderer(com.yahoo.component.ComponentSpecification spec)
- Specified by:
doGetRenderer
in classProcessingBase<com.yahoo.search.Query,com.yahoo.search.Result,com.yahoo.search.Searcher>
-
-