Package org.opensearch.search.pipeline.common
package org.opensearch.search.pipeline.common
A collection of commonly-useful request and response processors for use in search pipelines.
-
ClassDescriptionA simple implementation of field collapsing on search responses.This is a
SearchRequestProcessorthat replaces the incoming query with a BooleanQuery that MUST match the incoming query with a FILTER clause based on the configured query.Multiplies the "size" parameter on theSearchRequestby the given scaling factor, storing the original value in the request context as "original_size".This is aSearchRequestProcessorthat renames a field before returning the search responseThis is a factor that creates the RenameResponseProcessorProcessor that evaluates a script with a search request in its context and then returns the modified search request.Factory class for creatingScriptRequestProcessor.Plugin providing common search request/response processors for use in search pipelines.Processor that sorts an array of items.Enum defining how elements will be sortedProcessor that sorts an array of items.Truncates the returned search hits from theSearchResponse.