From 670c080acf1bffe77843187d5b26b2c03ff7de3c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 20 Dec 2023 18:32:45 +0000 Subject: [PATCH] Fix default doc values for keyword field type (#5924) Signed-off-by: Fanit Kolchina (cherry picked from commit 20f45b88f45c021e9408db3f3d9e2288f08b37c2) Signed-off-by: github-actions[bot] --- _opensearch/supported-field-types/keyword.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_opensearch/supported-field-types/keyword.md b/_opensearch/supported-field-types/keyword.md index cfa522f599..e74d08d397 100644 --- a/_opensearch/supported-field-types/keyword.md +++ b/_opensearch/supported-field-types/keyword.md @@ -39,7 +39,7 @@ The following table lists the parameters accepted by keyword 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`. `eager_global_ordinals` | Specifies whether global ordinals should be loaded eagerly on refresh. If the field is often used for aggregations, this parameter should be set to `true`. Default is `false`. `fields` | To index the same string in several ways (for example, as a keyword and text), provide the fields parameter. You can specify one version of the field to be used for search and another to be used for sorting and aggregations. `ignore_above` | Any string longer than this integer value should not be indexed. Default is 2147483647. Default dynamic mapping creates a keyword subfield for which `ignore_above` is set to 256.