Class DocValuesPropertyDescriptorBase<TDescriptor, TInterface, T>
Properties of a mapping for a property type to a document field that has doc_values in OpenSearch
Inheritance
DescriptorBase<TDescriptor, TInterface>
PropertyDescriptorBase<TDescriptor, TInterface, T>
CorePropertyDescriptorBase<TDescriptor, TInterface, T>
DocValuesPropertyDescriptorBase<TDescriptor, TInterface, T>
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public abstract class DocValuesPropertyDescriptorBase<TDescriptor, TInterface, T> : CorePropertyDescriptorBase<TDescriptor, TInterface, T>, IDescriptor, IDocValuesProperty, ICoreProperty, IProperty, IFieldMapping where TDescriptor : DocValuesPropertyDescriptorBase<TDescriptor, TInterface, T>, TInterface where TInterface : class, IDocValuesProperty where T : class
Type Parameters
Name | Description |
---|---|
TDescriptor | |
TInterface | |
T |
Constructors
| Edit this page View SourceDocValuesPropertyDescriptorBase(FieldType)
Declaration
protected DocValuesPropertyDescriptorBase(FieldType type)
Parameters
Type | Name | Description |
---|---|---|
FieldType | type |
Methods
| Edit this page View SourceDocValues(bool?)
Whether to persist the value at index time in a columnar data structure (referred to as doc_values in Lucene)
which makes the value available for efficient sorting and aggregations. Default is true
.
Declaration
public TDescriptor DocValues(bool? docValues = true)
Parameters
Type | Name | Description |
---|---|---|
bool? | docValues |
Returns
Type | Description |
---|---|
TDescriptor |