Class Juniperrc

  • All Implemented Interfaces:
    com.yahoo.config.ConfigInstance.Producer, Exportable, com.yahoo.vespa.config.search.summary.JuniperrcConfig.Producer

    public class Juniperrc
    extends Derived
    implements com.yahoo.vespa.config.search.summary.JuniperrcConfig.Producer
    Generated juniperrc-config for controlling juniper.
    Author:
    Simon Thoresen Hult
    • Constructor Summary

      Constructors 
      Constructor Description
      Juniperrc​(Search search)
      Constructs a new juniper rc instance for a given search object.
    • Constructor Detail

      • Juniperrc

        public Juniperrc​(Search search)
        Constructs a new juniper rc instance for a given search object. This will derive the configuration automatically, so there is no need to call derive(com.yahoo.searchdefinition.Search).
        Parameters:
        search - The search model to use for deriving.
    • Method Detail

      • derive

        protected void derive​(Search search)
        Description copied from class: Derived
        Derives the content of this configuration. This default calls derive(Document) for each document and derive(SDField) for each search definition level field AND sets the name of this to the name of the input search definition
        Overrides:
        derive in class Derived
      • getDerivedName

        protected java.lang.String getDerivedName()
        Specified by:
        getDerivedName in class Derived
      • getConfig

        public void getConfig​(com.yahoo.vespa.config.search.summary.JuniperrcConfig.Builder builder)
        Specified by:
        getConfig in interface com.yahoo.vespa.config.search.summary.JuniperrcConfig.Producer