Class GenericTarget

  • All Implemented Interfaces:
    com.yahoo.config.ConfigInstance.Producer, ConfigProducer, java.io.Serializable
    Direct Known Subclasses:
    Provider, Source

    public abstract class GenericTarget
    extends SearchChain
    A search chain that is intended to be used for federation (i.e. providers, sources)
    Author:
    Tony Vaagenes
    See Also:
    Serialized Form
    • Constructor Detail

      • GenericTarget

        public GenericTarget​(com.yahoo.component.chain.model.ChainSpecification specWithoutInnerSearchers,
                             com.yahoo.search.searchchain.model.federation.FederationOptions federationOptions)
    • Method Detail

      • federationOptions

        public com.yahoo.search.searchchain.model.federation.FederationOptions federationOptions()
        Overrides:
        federationOptions in class SearchChain
      • useByDefault

        protected abstract boolean useByDefault()
        The value for useByDefault in case the user have not specified any