Package | Description |
---|---|
com.yahoo.prelude |
The main classes of the Vespa Query Result Server.
|
com.yahoo.prelude.cluster |
Cluster monitoring for content clusters queried over fnet.
|
com.yahoo.prelude.searcher | |
com.yahoo.search |
The top level classes of the search container. A Query represents the incoming request, which produces a Result
by chained execution of a set of Searchers.
|
com.yahoo.search.cluster |
Standard searchers to compose in source search chains (those containing searchers specific for one source and
which ends with a call to some provider) which calls a cluster of provider nodes.
|
com.yahoo.search.federation |
The federation layer on top of the search container.
|
com.yahoo.search.federation.http | |
com.yahoo.search.handler |
The search handler, which handles search request to the Container by translating the Request into a Query, invoking the
chosen Search Chain to get a Result, which it translates to a Response which is returned to the Container.
|
com.yahoo.search.rendering | |
com.yahoo.search.result |
The content of a Result produced in response to a Query.
|
com.yahoo.search.searchchain |
Classes for composition of searchers into search chains, which are executed to produce Results for Queries.
|
com.yahoo.search.searchers |
Various useful searchers
|
Modifier and Type | Field and Description |
---|---|
private List<ErrorMessage> |
Pong.errors |
Modifier and Type | Method and Description |
---|---|
ErrorMessage |
Pong.getError(int i) |
Modifier and Type | Method and Description |
---|---|
List<ErrorMessage> |
Pong.getErrors() |
Modifier and Type | Method and Description |
---|---|
void |
Pong.addError(ErrorMessage error) |
Constructor and Description |
---|
Pong(ErrorMessage error) |
Modifier and Type | Method and Description |
---|---|
void |
NodeMonitor.failed(ErrorMessage error)
Called when this node fails.
|
(package private) void |
ClusterMonitor.failed(VespaBackEndSearcher node,
ErrorMessage error)
Called from ClusterSearcher/NodeManager when a node failed
|
Modifier and Type | Field and Description |
---|---|
Optional<ErrorMessage> |
ValidatePredicateSearcher.ValidatePredicateVisitor.errorMessage |
Modifier and Type | Method and Description |
---|---|
private ErrorMessage |
ValidateSortingSearcher.validate(Query query) |
Modifier and Type | Method and Description |
---|---|
private Optional<ErrorMessage> |
ValidatePredicateSearcher.validate(Query query,
IndexFacts.Session indexFacts) |
Constructor and Description |
---|
Result(Query query,
ErrorMessage errorMessage)
Create a result containing an error
|
Modifier and Type | Method and Description |
---|---|
void |
TrafficNodeMonitor.failed(ErrorMessage error)
Called when this node fails.
|
abstract void |
BaseNodeMonitor.failed(ErrorMessage error)
Called when this node fails.
|
void |
ClusterMonitor.failed(T node,
ErrorMessage error)
Called from ClusterSearcher/NodeManager when a node failed
|
protected Result |
ClusterSearcher.search(Query query,
Execution execution,
ErrorMessage message)
This is called (instead of search(quer,execution,connextion) to handle
searches where no (suitable) backend was available.
|
Modifier and Type | Method and Description |
---|---|
private ErrorMessage |
FederationSearcher.missingSearchChainsErrorMessage(List<UnresolvedSearchChainException> unresolvedSearchChainExceptions) |
private ErrorMessage |
ForwardingSearcher.noSearchchain() |
Modifier and Type | Method and Description |
---|---|
private com.yahoo.errorhandling.Results<FederationSearcher.Target,ErrorMessage> |
FederationSearcher.resolveSearchChains(Collection<SearchChainInvocationSpec> prunedTargets,
SearchChainRegistry registry) |
Modifier and Type | Method and Description |
---|---|
protected ErrorMessage |
HTTPSearcher.createMalformedUrlError(Query query,
Exception e)
Deprecated.
Utility method for creating error messages when a url is incorrect
|
Modifier and Type | Method and Description |
---|---|
Result |
HTTPClientSearcher.search(Query query,
Execution execution,
ErrorMessage error)
Deprecated.
Overrides to pass the query on to the next searcher
|
Modifier and Type | Method and Description |
---|---|
(package private) static Iterator<? extends ErrorMessage> |
SearchResponse.getErrorIterator(ErrorHit h) |
Modifier and Type | Method and Description |
---|---|
private com.yahoo.container.jdisc.HttpResponse |
SearchHandler.errorResponse(com.yahoo.container.jdisc.HttpRequest request,
ErrorMessage errorMessage) |
Modifier and Type | Method and Description |
---|---|
private Collection<ErrorMessage> |
SectionedRenderer.asUnmodifiableSearchErrorList(List<com.yahoo.processing.request.ErrorMessage> queryErrors,
ErrorMessage resultError) |
Modifier and Type | Method and Description |
---|---|
private Collection<ErrorMessage> |
SectionedRenderer.asUnmodifiableSearchErrorList(List<com.yahoo.processing.request.ErrorMessage> queryErrors,
ErrorMessage resultError) |
static void |
SyncDefaultRenderer.renderMessageDefaultErrorHit(com.yahoo.text.XMLWriter writer,
ErrorMessage error) |
static void |
DefaultRenderer.renderMessageDefaultErrorHit(com.yahoo.text.XMLWriter writer,
ErrorMessage error)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
SectionedRenderer.error(WRITER writer,
Collection<ErrorMessage> errorMessages)
Called if there are errors in the result.
|
private void |
JsonRenderer.renderErrors(Set<ErrorMessage> errors) |
Modifier and Type | Field and Description |
---|---|
private List<ErrorMessage> |
DefaultErrorHit.errors
A list of unique error messages, where the first is considered the "main"
error.
|
Modifier and Type | Method and Description |
---|---|
ErrorMessage |
ErrorMessage.clone() |
static ErrorMessage |
ErrorMessage.createBackendCommunicationError(String detailedMessage)
Creates an error indicating that there was a general error communicating with a backend service.
|
static ErrorMessage |
ErrorMessage.createBadRequest(String detailedMessage)
Creates an error analog to HTTP bad request.
|
static ErrorMessage |
ErrorMessage.createEmptyDocsums(String detailedMessage)
Creates an error indicating that a request to a backend returned empty document content data.
|
static ErrorMessage |
ErrorMessage.createErrorInPluginSearcher(String detailedMessage)
Creates a general error from an application components.
|
static ErrorMessage |
ErrorMessage.createErrorInPluginSearcher(String detailedMessage,
Throwable cause)
Creates a general error from an application component.
|
static ErrorMessage |
ErrorMessage.createForbidden(String detailedMessage)
Creates an error indicating that a forbidden operation was requested.
|
static ErrorMessage |
ErrorMessage.createIllegalQuery(String detailedMessage)
Creates an error message indicating that an illegal query was attempted evaluated.
|
static ErrorMessage |
ErrorMessage.createInternalServerError(String detailedMessage)
Creates an error analog to HTTP internal server error.
|
static ErrorMessage |
ErrorMessage.createInvalidQueryParameter(String detailedMessage)
Creates an error message indicating that an invalid request parameter was received.
|
static ErrorMessage |
ErrorMessage.createInvalidQueryParameter(String detailedMessage,
Throwable cause)
Creates an error message indicating that an invalid request parameter was received.
|
static ErrorMessage |
ErrorMessage.createInvalidQueryTransformation(String detailedMessage)
Creates an error indicating that an invalid query transformation was attempted.
|
static ErrorMessage |
ErrorMessage.createNoAnswerWhenPingingNode(String detailedMessage)
Creates an error indicating that a node could not be pinged.
|
static ErrorMessage |
ErrorMessage.createNoBackendsInService(String detailedMessage)
Creates an error message indicating that some backend service is unreachable
|
static ErrorMessage |
ErrorMessage.createNotFound(String detailedMessage)
Creates an error indicating that the requested resource was not found.
|
static ErrorMessage |
ErrorMessage.createNullQuery(String detailedMessage)
Creates an error message indicating that a null query was attempted evaluated
|
static ErrorMessage |
ErrorMessage.createRequestTooLarge(String detailedMessage)
Creates an error message indicating that the request is too large
|
static ErrorMessage |
ErrorMessage.createServerIsMisconfigured(String detailedMessage)
Creates an error indicating that the server is misconfigured
|
static ErrorMessage |
ErrorMessage.createTimeout(String detailedMessage)
Creates an error indicating that a request to a backend timed out.
|
static ErrorMessage |
ErrorMessage.createUnauthorized(String detailedMessage)
Creates an error indicating that the requestor is not authorized to perform the requested operation.
|
static ErrorMessage |
ErrorMessage.createUnspecifiedError(String detailedMessage)
Creates a generic message used when there is no information available on the category of the error.
|
static ErrorMessage |
ErrorMessage.createUnspecifiedError(String detailedMessage,
Throwable cause)
Creates a generic message used when there is no information available on the category of the error.
|
static ErrorMessage |
ErrorMessage.from(com.yahoo.processing.request.ErrorMessage error)
Returns the given error message as this type.
|
ErrorMessage |
HitGroup.getError()
Returns the first error in this result,
or null if no searcher has produced an error AND the query doesn't contain an error
|
ErrorMessage |
ErrorHit.getMainError()
Deprecated.
use errors().iterator().next()
|
ErrorMessage |
DefaultErrorHit.getMainError()
Deprecated.
|
private ErrorMessage |
HitGroup.toSearchError(com.yahoo.processing.request.ErrorMessage error)
Compatibility
|
Modifier and Type | Method and Description |
---|---|
Iterator<? extends ErrorMessage> |
ErrorHit.errorIterator()
Returns all the detail errors of this error hit, including the main error
|
Iterator<ErrorMessage> |
DefaultErrorHit.errorIterator()
Returns all the detail errors of this error hit, not including the main error.
|
Set<ErrorMessage> |
ErrorHit.errors()
Returns a read-only set containing all the error of this, including the main error
|
Set<ErrorMessage> |
DefaultErrorHit.errors()
Returns a read-only set containing all the error of this
|
Modifier and Type | Method and Description |
---|---|
void |
ErrorHit.addError(ErrorMessage error)
Adds an error to this.
|
void |
HitGroup.addError(ErrorMessage error)
Adds an error to this result
|
void |
DefaultErrorHit.addError(ErrorMessage error)
Adds an error to this
|
private void |
DefaultErrorHit.removeAndAdd(ErrorMessage error)
This is basically a way of making a list simulate a set.
|
void |
HitGroup.setError(ErrorMessage error)
Deprecated.
prefer addError to add some error information.
|
Constructor and Description |
---|
DefaultErrorHit(String source,
ErrorMessage error)
Creates an error hit with one error
|
Constructor and Description |
---|
DefaultErrorHit(String source,
List<ErrorMessage> errors)
Creates an error hit with a list of errors
|
Modifier and Type | Method and Description |
---|---|
private ErrorMessage |
FutureResult.createExecutionError(Exception e) |
private ErrorMessage |
FutureResult.createInterruptedError(Exception e) |
ErrorMessage |
FutureResult.createTimeoutError() |
Modifier and Type | Method and Description |
---|---|
private ErrorMessage |
ValidateMatchPhaseSearcher.validate(Query query) |
Copyright © 2018. All rights reserved.