Click or drag to resize
SearchSyntaxHelperExpandWithSynonyms Method
Expands given search expression with synonyms. If the data base of synonyms for given language is not found, searchExpression is returned without any modifications.

Namespace: CMS.Search
Assembly: CMS.Search (in CMS.Search.dll) Version: 8.2.23
Syntax
C#
public static string ExpandWithSynonyms(
	string searchExpression,
	string culture
)

Parameters

searchExpression
Type: SystemString
Search expression which should be expanded with synonyms
culture
Type: SystemString
Language code of the search expression (if null, en-us is used)

Return Value

Type: String
See Also