SearchIndexInfoProviderGetRelevantIndexes Method |
Returns all indexes which are relevant to the specified ISearchable object and given searchProvider.
Check ISearchable object type and with dependence on this type check index settings.
Namespace: CMS.SearchAssembly: CMS.Search (in CMS.Search.dll) Version: 13.0.131
Syntax public static List<SearchIndexInfo> GetRelevantIndexes(
ISearchable searchObject,
string searchProvider
)
Parameters
- searchObject
- Type: CMS.DataEngineISearchable
Object implementing ISearchable interface. - 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:
ListSearchIndexInfoSee Also