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(Schema schema)
-
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.ImportedFieldsConfig.Builder builder)
protected String
getDerivedName()
-
-
-
Constructor Detail
-
ImportedFields
public ImportedFields(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
-
getDerivedName
protected 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
-
-