From 17ad583c4a9f768729b3823c14462ca5b8565854 Mon Sep 17 00:00:00 2001 From: Harsha Vamsi Kalluri Date: Thu, 16 Nov 2023 14:51:38 -0800 Subject: [PATCH] Updated doc_values for fields (#5619) Signed-off-by: Harsha Vamsi Kalluri (cherry picked from commit ddbb16599b96e3d242d8bcb14eb908030622e10a) --- _field-types/supported-field-types/binary.md | 2 +- _field-types/supported-field-types/boolean.md | 2 +- _field-types/supported-field-types/ip.md | 2 +- _field-types/supported-field-types/numeric.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/_field-types/supported-field-types/binary.md b/_field-types/supported-field-types/binary.md index 7786785be4..05bc7b43b3 100644 --- a/_field-types/supported-field-types/binary.md +++ b/_field-types/supported-field-types/binary.md @@ -49,5 +49,5 @@ The following table lists the parameters accepted by binary field types. All par Parameter | Description :--- | :--- -`doc_values` | A Boolean value that specifies whether the field should be stored on disk so that it can be used for aggregations, sorting, or scripting. Optional. Default is `false`. +`doc_values` | A Boolean value that specifies whether the field should be stored on disk so that it can be used for aggregations, sorting, or scripting. Optional. Default is `true`. `store` | A Boolean value that specifies whether the field value should be stored and can be retrieved separately from the _source field. Optional. Default is `false`. \ No newline at end of file diff --git a/_field-types/supported-field-types/boolean.md b/_field-types/supported-field-types/boolean.md index 4e5e795f54..50a6b7b914 100644 --- a/_field-types/supported-field-types/boolean.md +++ b/_field-types/supported-field-types/boolean.md @@ -71,7 +71,7 @@ The following table lists the parameters accepted by Boolean field types. All pa Parameter | Description :--- | :--- `boost` | A floating-point value that specifies the weight of this field toward the relevance score. Values above 1.0 increase the field's relevance. Values between 0.0 and 1.0 decrease the field's relevance. Default is 1.0. -`doc_values` | A Boolean value that specifies whether the field should be stored on disk so that it can be used for aggregations, sorting or scripting. Default is `false`. +`doc_values` | A Boolean value that specifies whether the field should be stored on disk so that it can be used for aggregations, sorting or scripting. Default is `true`. `index` | A Boolean value that specifies whether the field should be searchable. Default is `true`. `meta` | Accepts metadata for this field. [`null_value`]({{site.url}}{{site.baseurl}}/opensearch/supported-field-types/index#null-value) | A value to be used in place of `null`. Must be of the same type as the field. If this parameter is not specified, the field is treated as missing when its value is `null`. Default is `null`. diff --git a/_field-types/supported-field-types/ip.md b/_field-types/supported-field-types/ip.md index a3e1277b20..ab84fb5895 100644 --- a/_field-types/supported-field-types/ip.md +++ b/_field-types/supported-field-types/ip.md @@ -110,7 +110,7 @@ The following table lists the parameters accepted by ip field types. All paramet Parameter | Description :--- | :--- `boost` | A floating-point value that specifies the weight of this field toward the relevance score. Values above 1.0 increase the field's relevance. Values between 0.0 and 1.0 decrease the field's relevance. Default is 1.0. -`doc_values` | A Boolean value that specifies if the field should be stored on disk so that it can be used for aggregations, sorting, or scripting. Default is `false`. +`doc_values` | A Boolean value that specifies if the field should be stored on disk so that it can be used for aggregations, sorting, or scripting. Default is `true`. `ignore_malformed` | A Boolean value that specifies to ignore malformed values and not to throw an exception. Default is `false`. `index` | A Boolean value that specifies whether the field should be searchable. Default is `true`. [`null_value`]({{site.url}}{{site.baseurl}}/opensearch/supported-field-types/index#null-value) | A value to be used in place of `null`. Must be of the same type as the field. If this parameter is not specified, the field is treated as missing when its value is `null`. Default is `null`. diff --git a/_field-types/supported-field-types/numeric.md b/_field-types/supported-field-types/numeric.md index e76b64ff0f..230975e6d4 100644 --- a/_field-types/supported-field-types/numeric.md +++ b/_field-types/supported-field-types/numeric.md @@ -105,7 +105,7 @@ Parameter | Description :--- | :--- `boost` | A floating-point value that specifies the weight of this field toward the relevance score. Values above 1.0 increase the field's relevance. Values between 0.0 and 1.0 decrease the field's relevance. Default is 1.0. `coerce` | A Boolean value that signals to truncate decimals for integer values and to convert strings to numeric values. Default is `true`. -`doc_values` | A Boolean value that specifies whether the field should be stored on disk so that it can be used for aggregations, sorting, or scripting. Default is `false`. +`doc_values` | A Boolean value that specifies whether the field should be stored on disk so that it can be used for aggregations, sorting, or scripting. Default is `true`. `ignore_malformed` | A Boolean value that specifies to ignore malformed values and not to throw an exception. Default is `false`. `index` | A Boolean value that specifies whether the field should be searchable. Default is `true`. `meta` | Accepts metadata for this field.