Class Juniperrc
- java.lang.Object
-
- com.yahoo.searchdefinition.derived.Derived
-
- com.yahoo.searchdefinition.derived.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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
derive(Schema schema)
Derives the content of this configuration.void
getConfig(com.yahoo.vespa.config.search.summary.JuniperrcConfig.Builder builder)
protected String
getDerivedName()
-
-
-
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 callderive(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
-
getDerivedName
protected String getDerivedName()
- Specified by:
getDerivedName
in classDerived
-
getConfig
public void getConfig(com.yahoo.vespa.config.search.summary.JuniperrcConfig.Builder builder)
- Specified by:
getConfig
in interfacecom.yahoo.vespa.config.search.summary.JuniperrcConfig.Producer
-
-