Package com.yahoo.schema.derived
Class IndexInfo
java.lang.Object
com.yahoo.schema.derived.Derived
com.yahoo.schema.derived.IndexInfo
Per-index commands which should be applied to queries prior to searching
- Author:
- bratseth
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidderive(ImmutableSDField field, Schema schema) Derives the content of this configuration.protected voidderive(ImmutableSDField field, Schema schema, ImmutableSDField parent) protected voidDerives the content of this configuration.voidvoidgetConfig(com.yahoo.search.config.IndexInfoConfig.Builder builder) protected StringbooleanhasCommand(String indexName, String command) Returns whether a particular command is prsent in this index info
-
Constructor Details
-
IndexInfo
-
-
Method Details
-
derive
Description copied from class:DerivedDerives 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:DerivedDerives the content of this configuration. This default does nothing. -
derive
-
hasCommand
Returns whether a particular command is prsent in this index info -
getConfig
public void getConfig(com.yahoo.search.config.IndexInfoConfig.Builder builder) -
export
- Throws:
IOException
-
getDerivedName
- Specified by:
getDerivedNamein classDerived
-