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

Namespace: CMS.Search.Lucene3
Assembly: CMS.Search.Lucene3 (in CMS.Search.Lucene3.dll) Version: 12.0.0
Syntax
C#
public class LuceneSearchValueConverter : AbstractSearchValueConverter

The LuceneSearchValueConverter type exposes the following members.

Constructors
  NameDescription
Public methodLuceneSearchValueConverter
Top
Properties
  NameDescription
Protected propertyCulture
Culture used to convert numbers to string and vice versa.
(Inherited from AbstractSearchValueConverter.)
Protected propertyDecimalReplacerRegex
Gets the double replacer regular expression.
(Overrides AbstractSearchValueConverterDecimalReplacerRegex.)
Protected propertyDoubleReplacerRegex
Gets the double replacer regular expression. Replaces double values in following format (double)123.456.
(Overrides AbstractSearchValueConverterDoubleReplacerRegex.)
Protected propertyIntReplacerRegex
Gets the integer replacer regular expression. Replaces integer values in following format (int)123.
(Overrides AbstractSearchValueConverterIntReplacerRegex.)
Top
Methods
  NameDescription
Public methodConvertToString
Converts the value to a search string representation.
(Inherited from AbstractSearchValueConverter.)
Public methodDateToString
Converts the date time from to its string representation
(Overrides AbstractSearchValueConverterDateToString(DateTime).)
Public methodDecimalToString
Returns string representation of the decimal value.
(Overrides AbstractSearchValueConverterDecimalToString(Decimal).)
Public methodDoubleToString
Returns string representation of the double value. Returned value has always uniform format.
(Overrides AbstractSearchValueConverterDoubleToString(Double).)
Public methodIntToString
Returns string representation of the integer value. Returned value has always uniform format.
(Overrides AbstractSearchValueConverterIntToString(Int32).)
Public methodReplaceNumbers
Replaces the number expressions within the given condition
(Inherited from AbstractSearchValueConverter.)
Public methodStringToDate
Converts the string representation of the date time from searched document to a date time
(Overrides AbstractSearchValueConverterStringToDate(String).)
Public methodStringToDecimal
Converts search string to the decimal value.
(Overrides AbstractSearchValueConverterStringToDecimal(String).)
Public methodStringToDouble
Converts search string to the integer value.
(Overrides AbstractSearchValueConverterStringToDouble(String).)
Public methodStringToInt
Converts search string to the integer value.
(Overrides AbstractSearchValueConverterStringToInt(String).)
Top
See Also