Package com.yahoo.schema.derived
Class IndexSchema
java.lang.Object
com.yahoo.schema.derived.Derived
com.yahoo.schema.derived.IndexSchema
Deriver of indexschema config containing information of all text index fields with name and data type.
- Author:
- geirst
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Representation of an index field with name and data type. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsField
(String fieldName) protected void
derive
(ImmutableSDField field, Schema schema) Derives the content of this configuration.protected void
Derives the content of this configuration.void
void
getConfig
(com.yahoo.vespa.config.search.IndexschemaConfig.Builder icB) protected String
-
Constructor Details
-
IndexSchema
-
-
Method Details
-
containsField
-
derive
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
Description copied from class:Derived
Derives the content of this configuration. This default does nothing. -
getDerivedName
- Specified by:
getDerivedName
in classDerived
-
getConfig
public void getConfig(com.yahoo.vespa.config.search.IndexschemaConfig.Builder icB) -
export
- Throws:
IOException
-
getFields
-