LuceneSearchSyntaxHelper ExpandWithSynonyms Method Kentico 8.1 API Reference
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.Lucene3
Assembly: CMS.Search.Lucene3 (in CMS.Search.Lucene3.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

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

Return Value

Type: OnlineString
See Also