Class CompoundRetrieverBuilder<T extends CompoundRetrieverBuilder<T>>

java.lang.Object
org.elasticsearch.search.retriever.RetrieverBuilder
org.elasticsearch.search.retriever.CompoundRetrieverBuilder<T>
All Implemented Interfaces:
Rewriteable<RetrieverBuilder>, ToXContent
Direct Known Subclasses:
RescorerRetrieverBuilder

public abstract class CompoundRetrieverBuilder<T extends CompoundRetrieverBuilder<T>> extends RetrieverBuilder
This abstract retriever defines a compound retriever. The idea is that it is not a leaf-retriever, i.e. it does not perform actual searches itself. Instead, it is a container for a set of child retrievers and is responsible for combining the results of the child retrievers according to the implementation of combineQueryPhaseResults.