public class SearchHandler
extends com.yahoo.container.jdisc.LoggingRequestHandler
Modifier and Type | Field and Description |
---|---|
static String |
defaultSearchChainName |
Constructor and Description |
---|
SearchHandler(com.yahoo.container.core.ChainsConfig chainsConfig,
IndexInfoConfig indexInfo,
com.yahoo.container.QrSearchersConfig clusters,
com.yahoo.vespa.configdefinition.SpecialtokensConfig specialTokens,
com.yahoo.container.core.QrTemplatesConfig ignored,
com.yahoo.container.protect.FreezeDetector ignored2,
com.yahoo.statistics.Statistics statistics,
com.yahoo.language.Linguistics linguistics,
com.yahoo.jdisc.Metric metric,
com.yahoo.component.provider.ComponentRegistry<com.yahoo.processing.rendering.Renderer> renderers,
Executor executor,
com.yahoo.container.logging.AccessLog accessLog,
QueryProfilesConfig queryProfileConfig,
com.yahoo.component.provider.ComponentRegistry<Searcher> searchers)
Deprecated.
use the constructor without deprecated parameters
|
SearchHandler(com.yahoo.container.core.ChainsConfig chainsConfig,
IndexInfoConfig indexInfo,
com.yahoo.container.QrSearchersConfig clusters,
com.yahoo.vespa.configdefinition.SpecialtokensConfig specialtokens,
com.yahoo.statistics.Statistics statistics,
com.yahoo.language.Linguistics linguistics,
com.yahoo.jdisc.Metric metric,
com.yahoo.component.provider.ComponentRegistry<com.yahoo.processing.rendering.Renderer> renderers,
Executor executor,
com.yahoo.container.logging.AccessLog accessLog,
QueryProfilesConfig queryProfileConfig,
com.yahoo.component.provider.ComponentRegistry<Searcher> searchers)
Deprecated.
use the constructor with ContainerHttpConfig
|
SearchHandler(com.yahoo.container.core.ChainsConfig chainsConfig,
IndexInfoConfig indexInfo,
com.yahoo.container.QrSearchersConfig clusters,
com.yahoo.vespa.configdefinition.SpecialtokensConfig specialtokens,
com.yahoo.statistics.Statistics statistics,
com.yahoo.language.Linguistics linguistics,
com.yahoo.jdisc.Metric metric,
com.yahoo.component.provider.ComponentRegistry<com.yahoo.processing.rendering.Renderer> renderers,
Executor executor,
com.yahoo.container.logging.AccessLog accessLog,
QueryProfilesConfig queryProfileConfig,
com.yahoo.component.provider.ComponentRegistry<Searcher> searchers,
com.yahoo.container.core.ContainerHttpConfig containerHttpConfig) |
Modifier and Type | Method and Description |
---|---|
void |
createRequestMapping(com.yahoo.slime.Inspector inspector,
Map<String,String> map,
String parent) |
protected void |
destroy() |
com.yahoo.processing.rendering.Renderer<Result> |
getRendererCopy(com.yahoo.component.ComponentSpecification spec)
Deprecated.
remove on Vespa 7
|
SearchChainRegistry |
getSearchChainRegistry() |
com.yahoo.container.jdisc.HttpResponse |
handle(com.yahoo.container.jdisc.HttpRequest request) |
Result |
searchAndFill(Query query,
com.yahoo.component.chain.Chain<? extends Searcher> searchChain,
SearchChainRegistry registry)
Used from container SDK, for internal use only
|
createLoggingCompletionHandler, testOnlyContext
addDateHeader, asHttpRequest, handle, handleRequest
getTimeout, handleRequest
currentState, refer, release, retainCount
public static final String defaultSearchChainName
@Inject public SearchHandler(com.yahoo.container.core.ChainsConfig chainsConfig, IndexInfoConfig indexInfo, com.yahoo.container.QrSearchersConfig clusters, com.yahoo.vespa.configdefinition.SpecialtokensConfig specialtokens, com.yahoo.statistics.Statistics statistics, com.yahoo.language.Linguistics linguistics, com.yahoo.jdisc.Metric metric, com.yahoo.component.provider.ComponentRegistry<com.yahoo.processing.rendering.Renderer> renderers, Executor executor, com.yahoo.container.logging.AccessLog accessLog, QueryProfilesConfig queryProfileConfig, com.yahoo.component.provider.ComponentRegistry<Searcher> searchers, com.yahoo.container.core.ContainerHttpConfig containerHttpConfig)
@Deprecated public SearchHandler(com.yahoo.container.core.ChainsConfig chainsConfig, IndexInfoConfig indexInfo, com.yahoo.container.QrSearchersConfig clusters, com.yahoo.vespa.configdefinition.SpecialtokensConfig specialtokens, com.yahoo.statistics.Statistics statistics, com.yahoo.language.Linguistics linguistics, com.yahoo.jdisc.Metric metric, com.yahoo.component.provider.ComponentRegistry<com.yahoo.processing.rendering.Renderer> renderers, Executor executor, com.yahoo.container.logging.AccessLog accessLog, QueryProfilesConfig queryProfileConfig, com.yahoo.component.provider.ComponentRegistry<Searcher> searchers)
@Deprecated public SearchHandler(com.yahoo.container.core.ChainsConfig chainsConfig, IndexInfoConfig indexInfo, com.yahoo.container.QrSearchersConfig clusters, com.yahoo.vespa.configdefinition.SpecialtokensConfig specialTokens, com.yahoo.container.core.QrTemplatesConfig ignored, com.yahoo.container.protect.FreezeDetector ignored2, com.yahoo.statistics.Statistics statistics, com.yahoo.language.Linguistics linguistics, com.yahoo.jdisc.Metric metric, com.yahoo.component.provider.ComponentRegistry<com.yahoo.processing.rendering.Renderer> renderers, Executor executor, com.yahoo.container.logging.AccessLog accessLog, QueryProfilesConfig queryProfileConfig, com.yahoo.component.provider.ComponentRegistry<Searcher> searchers)
protected void destroy()
destroy
in class com.yahoo.jdisc.AbstractResource
public final com.yahoo.container.jdisc.HttpResponse handle(com.yahoo.container.jdisc.HttpRequest request)
handle
in class com.yahoo.container.jdisc.ThreadedHttpRequestHandler
public Result searchAndFill(Query query, com.yahoo.component.chain.Chain<? extends Searcher> searchChain, SearchChainRegistry registry)
@Deprecated public com.yahoo.processing.rendering.Renderer<Result> getRendererCopy(com.yahoo.component.ComponentSpecification spec)
public SearchChainRegistry getSearchChainRegistry()
Copyright © 2018. All rights reserved.