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

Namespace: CMS.Search.Lucene3
Assembly: CMS.Search.Lucene3 (in CMS.Search.Lucene3.dll) Version: 8.2.23
Syntax
C#
public class LuceneSearchSyntaxHelper : AbstractSearchSyntaxHelper

The LuceneSearchSyntaxHelper type exposes the following members.

Constructors
  NameDescription
Public methodLuceneSearchSyntaxHelper
Top
Methods
  NameDescription
Public methodAddSearchCondition
Adds the given search condition to the existing condition
(Inherited from AbstractSearchSyntaxHelper.)
Public methodCombineSearchCondition
Returns string with combined search index conditions.
(Inherited from AbstractSearchSyntaxHelper.)
Public methodEscapeKeyWords
Escapes the key words to be searched
(Overrides AbstractSearchSyntaxHelperEscapeKeyWords(String).)
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.
(Overrides AbstractSearchSyntaxHelperExpandWithSynonyms(String, String).)
Protected methodFieldNameEvaluator
Evaluator method, converts lowercase "to" to uppercase.
(Inherited from AbstractSearchSyntaxHelper.)
Protected methodFinalizeSearchCondition
Finalizes the search query to make sure that its syntax is consistent and valid
(Inherited from AbstractSearchSyntaxHelper.)
Protected methodGetClassNameCondition
Gets the search condition for a given list of class names
(Inherited from AbstractSearchSyntaxHelper.)
Protected methodGetCultureCondition
Gets the search condition for the given culture
(Inherited from AbstractSearchSyntaxHelper.)
Public methodGetExactPhraseCondition
Gets the exact phrase condition from the given phrase
(Inherited from AbstractSearchSyntaxHelper.)
Protected methodGetExtraConditions
Gets the extra conditions based on the given expression
(Inherited from AbstractSearchSyntaxHelper.)
Public methodGetFieldCondition(String, Object, NullableBoolean)
Gets the search condition for the given field
(Inherited from AbstractSearchSyntaxHelper.)
Public methodGetFieldCondition(String, Object, Object, NullableBoolean)
Gets the field condition for a range of values
(Inherited from AbstractSearchSyntaxHelper.)
Public methodGetFilterCondition
Returns condition for search filter row
(Inherited from AbstractSearchSyntaxHelper.)
Public methodGetGroup
Groups the expressions
(Inherited from AbstractSearchSyntaxHelper.)
Protected methodGetKeyWordsCondition
Gets the search condition for the given key words
(Inherited from AbstractSearchSyntaxHelper.)
Public methodGetNotCondition
Gets a not (except) condition from the given condition
(Inherited from AbstractSearchSyntaxHelper.)
Public methodGetRange
Gets the range expression
(Inherited from AbstractSearchSyntaxHelper.)
Public methodGetRequiredCondition
Gets a required condition from the given condition
(Inherited from AbstractSearchSyntaxHelper.)
Public methodIsEmptyCondition
Returns true if the given search condition is empty
(Inherited from AbstractSearchSyntaxHelper.)
Public methodProcessSearchKeywords
Returns modified keywords string based on searchOptions.
(Inherited from AbstractSearchSyntaxHelper.)
Protected methodSplitKeyWords
Splits the given list of key words separated by space
(Inherited from AbstractSearchSyntaxHelper.)
Public methodTransformToFuzzySearch
Adds ~ signs to each term to force fuzzy search.
(Overrides AbstractSearchSyntaxHelperTransformToFuzzySearch(String).)
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Properties
  NameDescription
Protected propertyFieldNameSyntaxRegex
Gets the regular expression for field name.
(Inherited from AbstractSearchSyntaxHelper.)
Top
See Also