AbstractSearchSyntaxHelper Class |
Namespace: CMS.Search
public abstract class AbstractSearchSyntaxHelper : ISearchSyntaxHelper
The AbstractSearchSyntaxHelper type exposes the following members.
Name | Description | |
---|---|---|
AbstractSearchSyntaxHelper |
Name | Description | |
---|---|---|
AddSearchCondition |
Adds the given search condition to the existing condition
| |
CombineSearchCondition |
Returns string with combined search index conditions.
| |
EscapeKeyWords |
Escapes the key words to be searched
| |
ExpandWithSynonyms |
Expands given search expression with synonyms. If the data base of synonyms for given language is not found, searchExpression is returned without any modifications.
| |
FieldNameEvaluator |
Evaluator method, converts lowercase "to" to uppercase.
| |
FinalizeSearchCondition |
Finalizes the search query to make sure that its syntax is consistent and valid
| |
GetClassNameCondition |
Gets the search condition for a given list of class names
| |
GetCultureCondition |
Gets the search condition for the given culture
| |
GetExactPhraseCondition |
Gets the exact phrase condition from the given phrase
| |
GetExtraConditions |
Gets the extra conditions based on the given expression
| |
GetFieldCondition(String, Object, NullableBoolean) |
Gets the search condition for the given field
| |
GetFieldCondition(String, Object, Object, NullableBoolean) |
Gets the field condition for a range of values
| |
GetFilterCondition |
Returns condition for search filter row
| |
GetGroup |
Groups the expressions
| |
GetKeyWordsCondition |
Gets the search condition for the given key words
| |
GetNotCondition |
Gets a not (except) condition from the given condition
| |
GetRange |
Gets the range expression
| |
GetRequiredCondition |
Gets a required condition from the given condition
| |
IsEmptyCondition |
Returns true if the given search condition is empty
| |
ProcessSearchKeywords |
Returns modified keywords string based on searchOptions.
| |
SplitKeyWords |
Splits the given list of key words separated by space
| |
TransformToFuzzySearch |
Adds ~ signs to each term to force fuzzy search.
|
Name | Description | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Name | Description | |
---|---|---|
FieldNameSyntaxRegex |
Gets the regular expression for field name.
|