Class ImportedFields
- java.lang.Object
-
- com.yahoo.searchdefinition.derived.Derived
-
- com.yahoo.searchdefinition.derived.ImportedFields
-
- All Implemented Interfaces:
com.yahoo.config.ConfigInstance.Producer
,Exportable
,com.yahoo.vespa.config.search.ImportedFieldsConfig.Producer
public class ImportedFields extends Derived implements com.yahoo.vespa.config.search.ImportedFieldsConfig.Producer
This class derives imported fields from search definition and produces imported-fields.cfg as needed by the search backend.- Author:
- geirst
-
-
Constructor Summary
Constructors Constructor Description ImportedFields(Search search)
-
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.ImportedFieldsConfig.Builder builder)
protected java.lang.String
getDerivedName()
-
-
-
Constructor Detail
-
ImportedFields
public ImportedFields(Search search)
-
-
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.ImportedFieldsConfig.Builder builder)
- Specified by:
getConfig
in interfacecom.yahoo.vespa.config.search.ImportedFieldsConfig.Producer
-
-