Uses of Class
com.yahoo.search.result.ErrorMessage
Package
Description
The main classes of the Vespa Query Result Server.
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.
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.
The content of a Result produced in response to a Query.
Classes for composition of searchers into search chains, which are executed to produce Results for Queries.
-
Uses of ErrorMessage in com.yahoo.prelude
-
Uses of ErrorMessage in com.yahoo.search
ModifierConstructorDescriptionResult
(Query query, ErrorMessage errorMessage) Create a result containing an error -
Uses of ErrorMessage in com.yahoo.search.cluster
Modifier and TypeMethodDescriptionabstract void
BaseNodeMonitor.failed
(ErrorMessage error) Called when this node fails.void
ClusterMonitor.failed
(T node, ErrorMessage error) Called from ClusterSearcher/NodeManager when a node failedvoid
TrafficNodeMonitor.failed
(ErrorMessage error) Called when this node fails.protected Result
ClusterSearcher.search
(Query query, Execution execution, ErrorMessage message) This is called (instead of search(query, execution, connection) to handle searches where no (suitable) backend was available. -
Uses of ErrorMessage in com.yahoo.search.dispatch
Modifier and TypeMethodDescriptionprotected InvokerResult
SearchInvoker.errorResult
(Query query, ErrorMessage errorMessage) ModifierConstructorDescriptionSearchErrorInvoker
(ErrorMessage message) SearchErrorInvoker
(ErrorMessage message, Coverage coverage) -
Uses of ErrorMessage in com.yahoo.search.pagetemplates.result
Modifier and TypeMethodDescriptionstatic void
PageTemplatesXmlRenderer.renderMessageDefaultErrorHit
(com.yahoo.text.XMLWriter writer, ErrorMessage error) -
Uses of ErrorMessage in com.yahoo.search.rendering
Modifier and TypeMethodDescriptionstatic void
SyncDefaultRenderer.renderMessageDefaultErrorHit
(com.yahoo.text.XMLWriter writer, ErrorMessage error) static void
XmlRenderer.renderMessageDefaultErrorHit
(com.yahoo.text.XMLWriter writer, ErrorMessage error) Modifier and TypeMethodDescriptionabstract void
SectionedRenderer.error
(WRITER writer, Collection<ErrorMessage> errorMessages) Called if there are errors in the result.protected void
JsonRenderer.renderErrors
(Set<ErrorMessage> errors) -
Uses of ErrorMessage in com.yahoo.search.result
Modifier and TypeMethodDescriptionErrorMessage.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.createDocsumReplyError
(String detailedMessage) Wraps an error message received in a DocsumReply packetstatic 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 unreachablestatic 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 evaluatedstatic ErrorMessage
ErrorMessage.createRequestTooLarge
(String detailedMessage) Creates an error message indicating that the request is too largestatic ErrorMessage
ErrorMessage.createSearchReplyError
(String detailedMessage) Wraps an error message received in a SearchReply packetstatic ErrorMessage
ErrorMessage.createServerIsMisconfigured
(String detailedMessage) Creates an error indicating that the server is misconfiguredstatic 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.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 errorModifier and TypeMethodDescriptionDefaultErrorHit.errorIterator()
Returns all the detail errors of this error hit, not including the main error.Iterator<? extends ErrorMessage>
ErrorHit.errorIterator()
Returns all the detail errors of this error hit, including the main errorDefaultErrorHit.errors()
Returns a read-only set containing all the error of thisErrorHit.errors()
Returns a read-only set containing all the error of this, including the main errorModifier and TypeMethodDescriptionvoid
DefaultErrorHit.addError
(ErrorMessage error) Adds an error to thisvoid
ErrorHit.addError
(ErrorMessage error) Adds an error to this.void
HitGroup.addError
(ErrorMessage error) Adds an error to this resultModifierConstructorDescriptionDefaultErrorHit
(String source, ErrorMessage error) Creates an error hit with one errorModifierConstructorDescriptionDefaultErrorHit
(String source, List<ErrorMessage> errors) Creates an error hit with a list of errors -
Uses of ErrorMessage in com.yahoo.search.searchchain