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: 10.0.0
Syntax
C#
public class LuceneSearchSyntaxHelper : AbstractSearchSyntaxHelper

The LuceneSearchSyntaxHelper type exposes the following members.

Constructors
  NameDescription
Public methodLuceneSearchSyntaxHelper
Top
Properties
  NameDescription
Protected propertyFieldNameSyntaxRegex
Gets the regular expression for field name.
(Inherited from AbstractSearchSyntaxHelper.)
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
Converts all field names to lower case in regex result.
(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
See Also