Package com.yahoo.prelude
Class IndexModel
java.lang.Object
com.yahoo.prelude.IndexModel
Parameter class used for construction IndexFacts.
- Author:
- Steinar Knutsen, bratseth
-
Constructor Summary
ConstructorDescriptionIndexModel
(SearchDefinition searchDefinition) Create an index model for a single search definitionIndexModel
(IndexInfoConfig indexInfo, com.yahoo.container.QrSearchersConfig clusters) IndexModel
(IndexInfoConfig indexInfo, Map<String, List<String>> clusters) IndexModel
(Map<String, List<String>> masterClusters, Collection<SearchDefinition> searchDefinitions) IndexModel
(Map<String, List<String>> masterClusters, Map<String, SearchDefinition> searchDefinitions, SearchDefinition unionSearchDefinition) Deprecated.use the constructor without the third parameter -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.do not use
-
Constructor Details
-
IndexModel
Create an index model for a single search definition -
IndexModel
public IndexModel(Map<String, List<String>> masterClusters, Collection<SearchDefinition> searchDefinitions) -
IndexModel
@Deprecated public IndexModel(Map<String, List<String>> masterClusters, Map<String, SearchDefinition> searchDefinitions, SearchDefinition unionSearchDefinition) Deprecated.use the constructor without the third parameterUse IndexModel as a pure wrapper for the parameters given. -
IndexModel
-
IndexModel
-
-
Method Details
-
getMasterClusters
-
getSearchDefinitions
-
getUnionSearchDefinition
Deprecated.do not use
-