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(Search search)
Derives the content of this configuration.void
getConfig(com.yahoo.vespa.config.search.summary.JuniperrcConfig.Builder builder)
protected java.lang.String
getDerivedName()
-
-
-
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 callderive(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
-
getDerivedName
protected java.lang.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
-
-