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 Detail

      • Juniperrc

        public Juniperrc​(Schema schema)
        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(Schema).
        Parameters:
        schema - The search model to use for deriving.
    • Method Detail

      • derive

        protected void derive​(Schema schema)
        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
      • 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