LuceneSearchSyntaxHelperExpandWithSynonyms 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.Lucene3Assembly: CMS.Search.Lucene3 (in CMS.Search.Lucene3.dll) Version: 13.0.131
Syntax public override 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:
StringImplements
ISearchSyntaxHelperExpandWithSynonyms(String, String)See Also