From 4f1b944f0d42859b2d69e8ca2e2be506dd380b57 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 17:54:05 -0500 Subject: [PATCH] Updated doc_values for fields (#5619) (#5620) (cherry picked from commit ddbb16599b96e3d242d8bcb14eb908030622e10a) Signed-off-by: Harsha Vamsi Kalluri Signed-off-by: github-actions[bot] Co-authored-by: github-actions[bot] --- _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 7e253a03ad..d6974ad4cf 100644 --- a/_field-types/supported-field-types/binary.md +++ b/_field-types/supported-field-types/binary.md @@ -50,5 +50,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 3993f312c8..8233a45ad5 100644 --- a/_field-types/supported-field-types/boolean.md +++ b/_field-types/supported-field-types/boolean.md @@ -72,7 +72,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 1793bf31d0..cb2a5569c8 100644 --- a/_field-types/supported-field-types/ip.md +++ b/_field-types/supported-field-types/ip.md @@ -111,7 +111,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 d31cad8fc0..7b045f290f 100644 --- a/_field-types/supported-field-types/numeric.md +++ b/_field-types/supported-field-types/numeric.md @@ -106,7 +106,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.