Class RangePropertyDescriptorBase<TDescriptor, TInterface, T>
Inheritance
DescriptorBase<TDescriptor, TInterface>
PropertyDescriptorBase<TDescriptor, TInterface, T>
CorePropertyDescriptorBase<TDescriptor, TInterface, T>
DocValuesPropertyDescriptorBase<TDescriptor, TInterface, T>
RangePropertyDescriptorBase<TDescriptor, TInterface, T>
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public abstract class RangePropertyDescriptorBase<TDescriptor, TInterface, T> : DocValuesPropertyDescriptorBase<TDescriptor, TInterface, T>, IDescriptor, IRangeProperty, IDocValuesProperty, ICoreProperty, IProperty, IFieldMapping where TDescriptor : RangePropertyDescriptorBase<TDescriptor, TInterface, T>, TInterface where TInterface : class, IRangeProperty where T : class
Type Parameters
Name | Description |
---|---|
TDescriptor | |
TInterface | |
T |
Constructors
| Edit this page View SourceRangePropertyDescriptorBase(RangeType)
Declaration
protected RangePropertyDescriptorBase(RangeType type)
Parameters
Type | Name | Description |
---|---|---|
RangeType | type |
Methods
| Edit this page View SourceCoerce(bool?)
Try to convert strings to numbers and truncate fractions for integers. Accepts true (default) and false.
Declaration
public TDescriptor Coerce(bool? coerce = true)
Parameters
Type | Name | Description |
---|---|---|
bool? | coerce |
Returns
Type | Description |
---|---|
TDescriptor |
Index(bool?)
Should the field be searchable? Accepts true (default) and false.
Declaration
public TDescriptor Index(bool? index = true)
Parameters
Type | Name | Description |
---|---|---|
bool? | index |
Returns
Type | Description |
---|---|
TDescriptor |