Package com.yahoo.vespa.model.search
Class SearchCluster
java.lang.Object
com.yahoo.config.model.producer.AnyConfigProducer
com.yahoo.config.model.producer.TreeConfigProducer<AnyConfigProducer>
com.yahoo.vespa.model.search.SearchCluster
- All Implemented Interfaces:
com.yahoo.config.ConfigInstance.Producer,com.yahoo.prelude.fastsearch.DocumentdbInfoConfig.Producer,com.yahoo.search.config.IndexInfoConfig.Producer,com.yahoo.search.config.SchemaInfoConfig.Producer,com.yahoo.vespa.configdefinition.IlscriptsConfig.Producer,ConfigProducer,Serializable
- Direct Known Subclasses:
IndexedSearchCluster
public abstract class SearchCluster
extends TreeConfigProducer<AnyConfigProducer>
implements com.yahoo.prelude.fastsearch.DocumentdbInfoConfig.Producer, com.yahoo.search.config.IndexInfoConfig.Producer, com.yahoo.vespa.configdefinition.IlscriptsConfig.Producer, com.yahoo.search.config.SchemaInfoConfig.Producer
Represents a search cluster.
- Author:
- arnej27959
- See Also:
-
Field Summary
Fields inherited from class com.yahoo.config.model.producer.AnyConfigProducer
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(SchemaInfo schema) voidderiveFromSchemas(DeployState deployState) Must be called after cluster is built, to derive schema configs.voidgetConfig(com.yahoo.prelude.fastsearch.DocumentdbInfoConfig.Builder builder) voidgetConfig(com.yahoo.search.config.ClusterConfig.Builder builder) voidgetConfig(com.yahoo.search.config.IndexInfoConfig.Builder builder) voidgetConfig(com.yahoo.search.config.SchemaInfoConfig.Builder builder) voidgetConfig(com.yahoo.vespa.config.search.AttributesConfig.Builder builder) voidgetConfig(com.yahoo.vespa.configdefinition.IlscriptsConfig.Builder builder) getConfigId(String name) getDocumentDB(String name) getDocumentDBConfigId(String documentType) Returns the document databases contained in this clustercom.yahoo.container.QrSearchersConfig.Searchcluster.Builderfinal Doublefinal DoublebooleanhasDocumentDB(String name) final booleanfinal booleanschemas()Returns the schemas that should be active in this cluster.final voidfinal voidsetVisibilityDelay(double delay) toString()Methods inherited from class com.yahoo.config.model.producer.TreeConfigProducer
addChild, addDescendantService, getChildren, getChildrenByTypeRecursive, getConfigClassLoader, getDescendantServices, removeChild, validateMethods inherited from class com.yahoo.config.model.producer.AnyConfigProducer
addConfigId, addUserConfig, cascadeConfig, currentConfigId, findInheritedClassLoader, getConfigId, getMonitoringService, getParent, getRoot, getSubId, getUserConfigs, hostSystem, mergeUserConfigs, remove, setParent, setUserConfigs, stateIsHostedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.yahoo.vespa.model.ConfigProducer
dump
-
Constructor Details
-
SearchCluster
-
-
Method Details
-
getStorageRouteSpec
-
add
-
hasDocumentDB
-
getDocumentDB
-
getConfigId
-
schemas
Returns the schemas that should be active in this cluster. Note: These are added during processing. -
deriveFromSchemas
Must be called after cluster is built, to derive schema configs. Derives the schemas from the application package. Also stores the document names contained in the schemas. -
getDocumentDbs
Returns the document databases contained in this cluster -
getClusterName
-
hasStreaming
public final boolean hasStreaming() -
hasIndexed
public final boolean hasIndexed() -
setQueryTimeout
-
setVisibilityDelay
public final void setVisibilityDelay(double delay) -
getVisibilityDelay
-
getQueryTimeout
-
getDocumentDBConfigId
-
getQrSearcherConfig
public com.yahoo.container.QrSearchersConfig.Searchcluster.Builder getQrSearcherConfig() -
getConfig
public void getConfig(com.yahoo.prelude.fastsearch.DocumentdbInfoConfig.Builder builder) - Specified by:
getConfigin interfacecom.yahoo.prelude.fastsearch.DocumentdbInfoConfig.Producer
-
getConfig
public void getConfig(com.yahoo.search.config.IndexInfoConfig.Builder builder) - Specified by:
getConfigin interfacecom.yahoo.search.config.IndexInfoConfig.Producer
-
getConfig
public void getConfig(com.yahoo.search.config.SchemaInfoConfig.Builder builder) - Specified by:
getConfigin interfacecom.yahoo.search.config.SchemaInfoConfig.Producer
-
getConfig
public void getConfig(com.yahoo.vespa.configdefinition.IlscriptsConfig.Builder builder) - Specified by:
getConfigin interfacecom.yahoo.vespa.configdefinition.IlscriptsConfig.Producer
-
getConfig
public void getConfig(com.yahoo.vespa.config.search.AttributesConfig.Builder builder) -
getConfig
public void getConfig(com.yahoo.search.config.ClusterConfig.Builder builder) -
toString
-