Method SetStrictMode
SetStrictMode(Boolean)
Specifies how this NumericRangeFilterBuilder will handle errors.
If this is set to true, GetFilter(XmlElement) will throw a ParserException if it is unable to parse the lowerTerm or upperTerm into the appropriate numeric type. If this is set to false, then this exception will be silently ignored and the resulting filter will not match any documents.
Defaults to false.
Declaration
public void SetStrictMode(bool strictMode)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | strictMode |