Class DateNanosPropertyDescriptor<T>
Inheritance
DateNanosPropertyDescriptor<T>
Assembly: OpenSearch.Client.dll
Syntax
public class DateNanosPropertyDescriptor<T> : DocValuesPropertyDescriptorBase<DateNanosPropertyDescriptor<T>, IDateNanosProperty, T>, IDescriptor, IDateNanosProperty, IDocValuesProperty, ICoreProperty, IProperty, IFieldMapping where T : class
Type Parameters
Constructors
|
Edit this page
View Source
DateNanosPropertyDescriptor()
Declaration
public DateNanosPropertyDescriptor()
Methods
|
Edit this page
View Source
Boost(double?)
Mapping field-level query time boosting. Accepts a floating point number, defaults to 1.0.
Declaration
public DateNanosPropertyDescriptor<T> Boost(double? boost)
Parameters
Type |
Name |
Description |
double? |
boost |
|
Returns
|
Edit this page
View Source
The date format(s) that can be parsed. Defaults to strict_date_optional_time||epoch_millis.
DateFormat
Declaration
public DateNanosPropertyDescriptor<T> Format(string format)
Parameters
Type |
Name |
Description |
string |
format |
|
Returns
|
Edit this page
View Source
If true, malformed numbers are ignored. If false (default), malformed numbers throw an exception
and reject the whole document.
Declaration
public DateNanosPropertyDescriptor<T> IgnoreMalformed(bool? ignoreMalformed = true)
Parameters
Type |
Name |
Description |
bool? |
ignoreMalformed |
|
Returns
|
Edit this page
View Source
Index(bool?)
Should the field be searchable? Accepts true (default) and false.
Declaration
public DateNanosPropertyDescriptor<T> Index(bool? index = true)
Parameters
Type |
Name |
Description |
bool? |
index |
|
Returns
|
Edit this page
View Source
NullValue(DateTime?)
Accepts a date value in one of the configured format's
as the field which is substituted for any explicit null values. Defaults to null,
which means the field is treated as missing.
Declaration
public DateNanosPropertyDescriptor<T> NullValue(DateTime? nullValue)
Parameters
Type |
Name |
Description |
DateTime? |
nullValue |
|
Returns
Implements
Extension Methods