Class IndexingScript
- java.lang.Object
-
- com.yahoo.searchdefinition.derived.Derived
-
- com.yahoo.searchdefinition.derived.IndexingScript
-
- All Implemented Interfaces:
com.yahoo.config.ConfigInstance.Producer
,Exportable
,com.yahoo.vespa.configdefinition.IlscriptsConfig.Producer
public final class IndexingScript extends Derived implements com.yahoo.vespa.configdefinition.IlscriptsConfig.Producer
An indexing language script derived from a search definition. An indexing script contains a set of indexing statements, organized in a composite structure of indexing code snippets.- Author:
- bratseth
-
-
Constructor Summary
Constructors Constructor Description IndexingScript(Schema schema)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
derive(ImmutableSDField field, Schema schema)
Derives the content of this configuration.protected void
derive(Schema schema)
Derives the content of this configuration.Iterable<com.yahoo.vespa.indexinglanguage.expressions.Expression>
expressions()
void
getConfig(com.yahoo.vespa.configdefinition.IlscriptsConfig.Builder configBuilder)
String
getDerivedName()
-
-
-
Constructor Detail
-
IndexingScript
public IndexingScript(Schema schema)
-
-
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
-
derive
protected void derive(ImmutableSDField field, Schema schema)
Description copied from class:Derived
Derives the content of this configuration. This default does nothing.
-
expressions
public Iterable<com.yahoo.vespa.indexinglanguage.expressions.Expression> expressions()
-
getDerivedName
public String getDerivedName()
- Specified by:
getDerivedName
in classDerived
-
getConfig
public void getConfig(com.yahoo.vespa.configdefinition.IlscriptsConfig.Builder configBuilder)
- Specified by:
getConfig
in interfacecom.yahoo.vespa.configdefinition.IlscriptsConfig.Producer
-
-