Class IndexSchema

  • All Implemented Interfaces:
    com.yahoo.config.ConfigInstance.Producer, Exportable, com.yahoo.vespa.config.search.IndexschemaConfig.Producer

    public class IndexSchema
    extends Derived
    implements com.yahoo.vespa.config.search.IndexschemaConfig.Producer
    Deriver of indexschema config containing information of all text index fields with name and data type.
    Author:
    geirst
    • Constructor Detail

      • IndexSchema

        public IndexSchema​(Search search)
    • Method Detail

      • containsField

        public boolean containsField​(java.lang.String fieldName)
      • 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
        Overrides:
        derive in class Derived
      • derive

        protected void derive​(ImmutableSDField field,
                              Search search)
        Description copied from class: Derived
        Derives the content of this configuration. This default does nothing.
        Overrides:
        derive in class Derived
      • getDerivedName

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

        public void getConfig​(com.yahoo.vespa.config.search.IndexschemaConfig.Builder icB)
        Specified by:
        getConfig in interface com.yahoo.vespa.config.search.IndexschemaConfig.Producer