Class ImportedFields

java.lang.Object
com.yahoo.schema.derived.Derived
com.yahoo.schema.derived.ImportedFields

public class ImportedFields extends Derived
This class derives imported fields from search definition and produces imported-fields.cfg as needed by the search backend.
Author:
geirst
  • Constructor Details

    • ImportedFields

      public ImportedFields(Schema schema)
  • Method Details

    • 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
      Overrides:
      derive in class Derived
    • getDerivedName

      protected String getDerivedName()
      Specified by:
      getDerivedName in class Derived
    • getConfig

      public void getConfig(com.yahoo.vespa.config.search.ImportedFieldsConfig.Builder builder)
    • export

      public void export(String toDirectory) throws IOException
      Throws:
      IOException