kolchfa-aws 2e369607e1
Add index pages to support heading clickability (#3837)
* Add index pages and reorganize content for header clickability

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Apply suggestions from code review

Co-authored-by: Melissa Vagi <vagimeli@amazon.com>

* Implemented doc review comments

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Punctuation fix

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Renamed to creating and tuning cluster

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Content planning dashboards index page

Signed-off-by: vagimeli <vagimeli@amazon.com>

* Add Dashboards index page

Signed-off-by: vagimeli <vagimeli@amazon.com>

* Add Dashboards index page

Signed-off-by: vagimeli <vagimeli@amazon.com>

* Add Dashboards index

Signed-off-by: vagimeli <vagimeli@amazon.com>

* Update _dashboards/index.md

Co-authored-by: Heather Halter <HDHALTER@AMAZON.COM>
Signed-off-by: Melissa Vagi <vagimeli@amazon.com>

* Address doc feedback

Signed-off-by: vagimeli <vagimeli@amazon.com>

* Apply suggestions from code review

Co-authored-by: Nathan Bower <nbower@amazon.com>
Signed-off-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>

* Implemented editorial comments

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Link fix

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

---------

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
Signed-off-by: vagimeli <vagimeli@amazon.com>
Signed-off-by: Melissa Vagi <vagimeli@amazon.com>
Signed-off-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Co-authored-by: Melissa Vagi <vagimeli@amazon.com>
Co-authored-by: Heather Halter <HDHALTER@AMAZON.COM>
Co-authored-by: Nathan Bower <nbower@amazon.com>
2023-05-11 11:00:30 -04:00

3.1 KiB

layout, title, nav_order, has_children, parent, grand_parent, redirect_from
layout title nav_order has_children parent grand_parent redirect_from
default Keyword 46 false String field types Supported field types
/opensearch/supported-field-types/keyword/
/field-types/keyword/

Keyword field type

A keyword field type contains a string that is not analyzed. It allows only exact, case-sensitive matches.

If you need to use a field for full-text search, map it as text instead. {: .note }

Example

Create a mapping with a keyword field:

PUT movies
{
  "mappings" : {
    "properties" : {
      "genre" : {
        "type" :  "keyword"
      }
    }
  }
}

{% include copy-curl.html %}

Parameters

The following table lists the parameters accepted by keyword field types. All parameters are optional.

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.
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.
index A Boolean value that specifies whether the field should be searchable. Default is true.
index_options Information to be stored in the index that will be considered when calculating relevance scores. Can be set to freqs for term frequency. Default is docs.
meta Accepts metadata for this field.
normalizer Specifies how to preprocess this field before indexing (for example, make it lowercase). Default is null (no preprocessing).
norms A Boolean value that specifies whether the field length should be used when calculating relevance scores. Default is false.
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.
similarity The ranking algorithm for calculating relevance scores. Default is BM25.
split_queries_on_whitespace A Boolean value that specifies whether full-text queries should be split on whitespace. Default is false.
store A Boolean value that specifies whether the field value should be stored and can be retrieved separately from the _source field. Default is false.