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: 8.2.23
Syntax
C#
public class LuceneSearchValueConverter : AbstractSearchValueConverter

The LuceneSearchValueConverter type exposes the following members.

Constructors
Methods
  NameDescription
Public methodConvertToString
Converts the value to the search string representation.
(Overrides AbstractSearchValueConverterConvertToString(Object).)
Public methodDateToString
Converts the date time from to its string representation
(Overrides AbstractSearchValueConverterDateToString(DateTime).)
Public methodDecimalToString
Returns string representation of the decimal value.
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
(Overrides AbstractSearchValueConverterReplaceNumbers(String).)
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.
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
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 propertyCulture
Culture used for converting numbers to string and vice versa.
(Inherited from AbstractSearchValueConverter.)
Protected propertyDecimalReplacerRegex
Gets the decimal replacer regular expression.
Protected propertyDoubleReplacerRegex
Gets the double replacer regular expression.
(Overrides AbstractSearchValueConverterDoubleReplacerRegex.)
Protected propertyIntReplacerRegex
Integer value replacer. Replaces integer values in following format (int)123.
(Overrides AbstractSearchValueConverterIntReplacerRegex.)
Top
See Also