Package com.yahoo.schema.derived
Class IndexInfo
java.lang.Object
com.yahoo.schema.derived.Derived
com.yahoo.schema.derived.IndexInfo
- All Implemented Interfaces:
com.yahoo.config.ConfigInstance.Producer
,Exportable
,com.yahoo.search.config.IndexInfoConfig.Producer
Per-index commands which should be applied to queries prior to searching
- Author:
- bratseth
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
derive
(ImmutableSDField field, Schema schema) Derives the content of this configuration.protected void
derive
(ImmutableSDField field, Schema schema, boolean inPosition) protected void
Derives the content of this configuration.void
getConfig
(com.yahoo.search.config.IndexInfoConfig.Builder builder) protected String
boolean
hasCommand
(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: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. -
derive
-
hasCommand
Returns whether a particular command is prsent in this index info -
getConfig
public void getConfig(com.yahoo.search.config.IndexInfoConfig.Builder builder) - Specified by:
getConfig
in interfacecom.yahoo.search.config.IndexInfoConfig.Producer
-
getDerivedName
- Specified by:
getDerivedName
in classDerived
-