SearchQueryClausesGetQuery Method (Boolean, Boolean, ListString) |
Returns Full text SQL query and fill collection of words which should be highlighted.
Namespace: CMS.SearchAssembly: CMS.Search (in CMS.Search.dll) Version: 12.0.0
Syntax public string GetQuery(
bool generateQuery,
bool causeType,
List<string> highligtedWords
)
Parameters
- generateQuery
- Type: SystemBoolean
Indicates whether query should be generated - causeType
- Type: SystemBoolean
If is true => positive cause (AND/OR), false => negative cause (NOT) - highligtedWords
- Type: System.Collections.GenericListString
Collection of words which should be highlighted
Return Value
Type:
StringSee Also