Click or drag to resize
AbstractSearchSyntaxHelper Class
Helper methods for search condition syntax
Inheritance Hierarchy

Namespace: CMS.Search
Assembly: CMS.Search (in CMS.Search.dll) Version: 10.0.0
Syntax
C#
public abstract class AbstractSearchSyntaxHelper : ISearchSyntaxHelper

The AbstractSearchSyntaxHelper type exposes the following members.

Constructors
  NameDescription
Protected methodAbstractSearchSyntaxHelper
Top
Properties
  NameDescription
Protected propertyFieldNameSyntaxRegex
Gets the regular expression for field name.
Top
Methods
  NameDescription
Public methodAddSearchCondition
Adds the given search condition to the existing condition
Public methodCombineSearchCondition
Returns string with combined search index conditions.
Public methodEscapeKeyWords
Escapes the key words to be searched
Public methodExpandWithSynonyms
Expands given search expression with synonyms. If the data base of synonyms for given language is not found, searchExpression is returned without any modifications.
Protected methodFieldNameEvaluator
Converts all field names to lower case in regex result.
Protected methodFinalizeSearchCondition
Finalizes the search query to make sure that its syntax is consistent and valid
Protected methodGetClassNameCondition
Gets the search condition for a given list of class names
Protected methodGetCultureCondition
Gets the search condition for the given culture
Public methodGetExactPhraseCondition
Gets the exact phrase condition from the given phrase
Protected methodGetExtraConditions
Gets the extra conditions based on the given expression
Public methodGetFieldCondition(String, Object, NullableBoolean)
Gets the search condition for the given field
Public methodGetFieldCondition(String, Object, Object, NullableBoolean)
Gets the field condition for a range of values
Public methodGetFilterCondition
Returns condition for search filter row
Public methodGetGroup
Groups the expressions
Protected methodGetKeyWordsCondition
Gets the search condition for the given key words
Public methodGetNotCondition
Gets a not (except) condition from the given condition
Public methodGetRange
Gets the range expression
Public methodGetRequiredCondition
Gets a required condition from the given condition
Public methodIsEmptyCondition
Returns true if the given search condition is empty
Public methodProcessSearchKeywords
Returns modified keywords string based on searchOptions.
Protected methodSplitKeyWords
Splits the given list of key words separated by space
Public methodTransformToFuzzySearch
Adds ~ signs to each term to force fuzzy search.
Top
See Also