Click or drag to resize
SearchQueryClauses.GetQuery Method (Boolean, Boolean, List<String>)
Returns Full text SQL query and fill collection of words which should be highlighted.

Namespace: CMS.Search
Assembly: CMS.Search (in CMS.Search.dll) Version: 10.0.0
Syntax
C#
public string GetQuery(
	bool generateQuery,
	bool causeType,
	List<string> highligtedWords
)

Parameters

generateQuery
Type: System.Boolean
Indicates whether query should be generated
causeType
Type: System.Boolean
If is true => positive cause (AND/OR), false => negative cause (NOT)
highligtedWords
Type: System.Collections.Generic.List<String>
Collection of words which should be highlighted

Return Value

Type: String
See Also