Click or drag to resize
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.Search
Assembly: CMS.Search (in CMS.Search.dll) Version: 12.0.0
Syntax
C#
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: ListSearchIndexInfo
See Also