SearchablesRetrieverGetRelevantIndexes Method (String, String, String) |
Gets relevant indexes for given objectType, siteName and searchProvider.
Namespace: CMS.Search.InternalAssembly: CMS.Search (in CMS.Search.dll) Version: 13.0.131
Syntax public virtual IEnumerable<SearchIndexInfo> GetRelevantIndexes(
string objectType,
string siteName,
string searchProvider
)
Parameters
- objectType
- Type: SystemString
Defines object type that index should cover. - siteName
- Type: SystemString
Only indexes on given site are checked. If not specified then indexes through all sites are checked if they are relevant. - searchProvider
- Type: SystemString
Defines search provider for which to return relevant indexes.
If not defined then indexes for all search providers are returned.
Return Value
Type:
IEnumerableSearchIndexInfoSee Also