Click or drag to resize
SearchCondition Constructor

Namespace: CMS.Search
Assembly: CMS.Search (in CMS.Search.dll) Version: 8.2.23
Syntax
C#
public SearchCondition(
	string extraConditions = null,
	SearchModeEnum searchMode = SearchModeEnum.AnyWord,
	SearchOptionsEnum searchOptions = SearchOptionsEnum.BasicSearch,
	DocumentSearchCondition documentCondition = null,
	bool fuzzySearch = false
)

Parameters

extraConditions (Optional)
Type: SystemString
Search condition that is added to any conditions specified in the search expression. You can use special characters (+ -) and field conditions (e.g. +documentnodeid:(int)255).
searchMode (Optional)
Type: CMS.SearchSearchModeEnum
Search mode
searchOptions (Optional)
Type: CMS.SearchSearchOptionsEnum
Search options
documentCondition (Optional)
Type: CMS.SearchDocumentSearchCondition
Search condition for documents
fuzzySearch (Optional)
Type: SystemBoolean
If true, the expression is transformed to support fuzzy search
See Also