Uses of Class
com.yahoo.search.result.ErrorMessage
Packages that use 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
Methods in com.yahoo.prelude that return types with arguments of type ErrorMessageConstructors in com.yahoo.prelude with parameters of type ErrorMessage -
Uses of ErrorMessage in com.yahoo.search
Constructors in com.yahoo.search with parameters of type ErrorMessageModifierConstructorDescriptionResult(Query query, ErrorMessage errorMessage) Create a result containing an error -
Uses of ErrorMessage in com.yahoo.search.cluster
Methods in com.yahoo.search.cluster with parameters of type ErrorMessageModifier and TypeMethodDescriptionabstract voidBaseNodeMonitor.failed(ErrorMessage error) Called when this node fails.voidClusterMonitor.failed(T node, ErrorMessage error) Called from ClusterSearcher/NodeManager when a node failedvoidTrafficNodeMonitor.failed(ErrorMessage error) Called when this node fails.protected ResultClusterSearcher.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
Methods in com.yahoo.search.dispatch with parameters of type ErrorMessageModifier and TypeMethodDescriptionprotected InvokerResultSearchInvoker.errorResult(Query query, ErrorMessage errorMessage) Constructors in com.yahoo.search.dispatch with parameters of type ErrorMessageModifierConstructorDescriptionSearchErrorInvoker(ErrorMessage message) SearchErrorInvoker(ErrorMessage message, Coverage coverage) -
Uses of ErrorMessage in com.yahoo.search.pagetemplates.result
Methods in com.yahoo.search.pagetemplates.result with parameters of type ErrorMessageModifier and TypeMethodDescriptionstatic voidPageTemplatesXmlRenderer.renderMessageDefaultErrorHit(com.yahoo.text.XMLWriter writer, ErrorMessage error) -
Uses of ErrorMessage in com.yahoo.search.ranking
Methods in com.yahoo.search.ranking that return types with arguments of type ErrorMessageModifier and TypeMethodDescriptionGlobalPhaseRanker.validateNoSorting(Query query, String schema) -
Uses of ErrorMessage in com.yahoo.search.rendering
Methods in com.yahoo.search.rendering with parameters of type ErrorMessageModifier and TypeMethodDescriptionstatic voidSyncDefaultRenderer.renderMessageDefaultErrorHit(com.yahoo.text.XMLWriter writer, ErrorMessage error) static voidXmlRenderer.renderMessageDefaultErrorHit(com.yahoo.text.XMLWriter writer, ErrorMessage error) Method parameters in com.yahoo.search.rendering with type arguments of type ErrorMessageModifier and TypeMethodDescriptionabstract voidSectionedRenderer.error(WRITER writer, Collection<ErrorMessage> errorMessages) Called if there are errors in the result.protected voidJsonRenderer.renderErrors(Set<ErrorMessage> errors) -
Uses of ErrorMessage in com.yahoo.search.result
Methods in com.yahoo.search.result that return ErrorMessageModifier and TypeMethodDescriptionEventStream.ErrorEvent.asError()ErrorMessage.clone()static ErrorMessageErrorMessage.createBackendCommunicationError(String detailedMessage) Creates an error indicating that there was a general error communicating with a backend service.static ErrorMessageErrorMessage.createBadRequest(String detailedMessage) Creates an error analog to HTTP bad request.static ErrorMessageErrorMessage.createDocsumReplyError(String detailedMessage) Wraps an error message received in a DocsumReply packetstatic ErrorMessageErrorMessage.createEmptyDocsums(String detailedMessage) Creates an error indicating that a request to a backend returned empty document content data.static ErrorMessageErrorMessage.createErrorInPluginSearcher(String detailedMessage) Creates a general error from an application components.static ErrorMessageErrorMessage.createErrorInPluginSearcher(String detailedMessage, Throwable cause) Creates a general error from an application component.static ErrorMessageErrorMessage.createForbidden(String detailedMessage) Creates an error indicating that a forbidden operation was requested.static ErrorMessageErrorMessage.createIllegalQuery(String detailedMessage) Creates an error message indicating that an illegal query was attempted evaluated.static ErrorMessageErrorMessage.createInternalServerError(String detailedMessage) Creates an error analog to HTTP internal server error.static ErrorMessageErrorMessage.createInternalServerError(String detailedMessage, Throwable cause) Creates an error analog to HTTP internal server error.static ErrorMessageErrorMessage.createInvalidQueryParameter(String detailedMessage) Creates an error message indicating that an invalid request parameter was received.static ErrorMessageErrorMessage.createInvalidQueryParameter(String detailedMessage, Throwable cause) Creates an error message indicating that an invalid request parameter was received.static ErrorMessageErrorMessage.createInvalidQueryTransformation(String detailedMessage) Creates an error indicating that an invalid query transformation was attempted.static ErrorMessageErrorMessage.createNoAnswerWhenPingingNode(String detailedMessage) Creates an error indicating that a node could not be pinged.static ErrorMessageErrorMessage.createNoBackendsInService(String detailedMessage) Creates an error message indicating that some backend service is unreachablestatic ErrorMessageErrorMessage.createNotFound(String detailedMessage) Creates an error indicating that the requested resource was not found.static ErrorMessageErrorMessage.createNullQuery(String detailedMessage) Creates an error message indicating that a null query was attempted evaluatedstatic ErrorMessageErrorMessage.createRequestTooLarge(String detailedMessage) Creates an error message indicating that the request is too largestatic ErrorMessageErrorMessage.createSearchReplyError(String detailedMessage) Wraps an error message received in a SearchReply packetstatic ErrorMessageErrorMessage.createServerIsMisconfigured(String detailedMessage) Creates an error indicating that the server is misconfiguredstatic ErrorMessageErrorMessage.createTimeout(String detailedMessage) Creates an error indicating that a request to a backend timed out.static ErrorMessageErrorMessage.createUnauthorized(String detailedMessage) Creates an error indicating that the requestor is not authorized to perform the requested operation.static ErrorMessageErrorMessage.createUnspecifiedError(String detailedMessage) Creates a generic message used when there is no information available on the category of the error.static ErrorMessageErrorMessage.createUnspecifiedError(String detailedMessage, Throwable cause) Creates a generic message used when there is no information available on the category of the error.static ErrorMessageErrorMessage.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 errorMethods in com.yahoo.search.result that return types with arguments of type ErrorMessageModifier 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 errorMethods in com.yahoo.search.result with parameters of type ErrorMessageModifier and TypeMethodDescriptionvoidDefaultErrorHit.addError(ErrorMessage error) Adds an error to thisvoidErrorHit.addError(ErrorMessage error) Adds an error to this.voidHitGroup.addError(ErrorMessage error) Adds an error to this resultvoidEventStream.error(String source, ErrorMessage message) Constructors in com.yahoo.search.result with parameters of type ErrorMessageModifierConstructorDescriptionDefaultErrorHit(String source, ErrorMessage error) Creates an error hit with one errorErrorEvent(int eventNumber, String source, ErrorMessage message) Constructor parameters in com.yahoo.search.result with type arguments of type ErrorMessageModifierConstructorDescriptionDefaultErrorHit(String source, List<ErrorMessage> errors) Creates an error hit with a list of errors -
Uses of ErrorMessage in com.yahoo.search.searchchain
Methods in com.yahoo.search.searchchain that return ErrorMessage