Class FederationSearcherModel
- java.lang.Object
-
- com.yahoo.osgi.provider.model.ComponentModel
-
- com.yahoo.component.chain.model.ChainedComponentModel
-
- com.yahoo.search.searchchain.model.federation.FederationSearcherModel
-
@Immutable public class FederationSearcherModel extends com.yahoo.component.chain.model.ChainedComponentModel
Specifies how a federation searcher is to be set up.- Author:
- Tony Vaagenes
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FederationSearcherModel.TargetSpec
Specifies one or more search chains that can be addressed as a single source.
-
Field Summary
Fields Modifier and Type Field Description boolean
inheritDefaultSources
java.util.List<FederationSearcherModel.TargetSpec>
targets
-
Constructor Summary
Constructors Constructor Description FederationSearcherModel(com.yahoo.component.ComponentSpecification componentId, com.yahoo.component.chain.dependencies.Dependencies dependencies, java.util.List<FederationSearcherModel.TargetSpec> targets, boolean inheritDefaultSources)
-
-
-
Field Detail
-
targets
public final java.util.List<FederationSearcherModel.TargetSpec> targets
-
inheritDefaultSources
public final boolean inheritDefaultSources
-
-
Constructor Detail
-
FederationSearcherModel
public FederationSearcherModel(com.yahoo.component.ComponentSpecification componentId, com.yahoo.component.chain.dependencies.Dependencies dependencies, java.util.List<FederationSearcherModel.TargetSpec> targets, boolean inheritDefaultSources)
-
-