Class CollapseResponseProcessor
java.lang.Object
org.opensearch.search.pipeline.AbstractProcessor
org.opensearch.search.pipeline.common.CollapseResponseProcessor
- All Implemented Interfaces:
Processor,SearchResponseProcessor
A simple implementation of field collapsing on search responses. Note that this is not going to work as well as
field collapsing at the shard level, as implemented with the "collapse" parameter in a search request. Mostly
just using this to demo the oversample / truncate_hits processors.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.search.pipeline.Processor
Processor.PipelineContext, Processor.PipelineSource -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetType()processResponse(SearchRequest request, SearchResponse response) Methods inherited from class org.opensearch.search.pipeline.AbstractProcessor
getDescription, getTag, isIgnoreFailureMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.search.pipeline.Processor
getDescription, getTag, isIgnoreFailureMethods inherited from interface org.opensearch.search.pipeline.SearchResponseProcessor
processResponse, processResponseAsync
-
Field Details
-
TYPE
Key to reference this processor type from a search pipeline.- See Also:
-
-
Method Details
-
getType
-
processResponse
- Specified by:
processResponsein interfaceSearchResponseProcessor
-