public final class IndexModel extends Object
Constructor and Description |
---|
IndexModel(IndexInfoConfig indexInfo,
Map<String,List<String>> clusters) |
IndexModel(IndexInfoConfig indexInfo,
com.yahoo.container.QrSearchersConfig clusters) |
IndexModel(Map<String,List<String>> masterClusters,
Collection<SearchDefinition> searchDefinitions)
Create an index model.
|
IndexModel(Map<String,List<String>> masterClusters,
Map<String,SearchDefinition> searchDefinitions,
SearchDefinition unionSearchDefinition)
Use IndexModel as a pure wrapper for the parameters given.
|
Modifier and Type | Method and Description |
---|---|
Map<String,List<String>> |
getMasterClusters() |
Map<String,SearchDefinition> |
getSearchDefinitions() |
SearchDefinition |
getUnionSearchDefinition() |
public IndexModel(Map<String,List<String>> masterClusters, Collection<SearchDefinition> searchDefinitions)
public IndexModel(Map<String,List<String>> masterClusters, Map<String,SearchDefinition> searchDefinitions, SearchDefinition unionSearchDefinition)
public IndexModel(IndexInfoConfig indexInfo, com.yahoo.container.QrSearchersConfig clusters)
public IndexModel(IndexInfoConfig indexInfo, Map<String,List<String>> clusters)
public Map<String,SearchDefinition> getSearchDefinitions()
public SearchDefinition getUnionSearchDefinition()
Copyright © 2018. All rights reserved.