From 41ebee32d81db5a8eac514f2d235ff93424ffd06 Mon Sep 17 00:00:00 2001 From: Andriy Redko Date: Mon, 6 May 2024 08:50:39 -0400 Subject: [PATCH 1/4] Minor documentation correction for 2.14.0 Signed-off-by: Andriy Redko --- _field-types/supported-field-types/date.md | 2 +- .../configuring-opensearch/network-settings.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_field-types/supported-field-types/date.md b/_field-types/supported-field-types/date.md index e0b99f3a90..c42fcd4c8b 100644 --- a/_field-types/supported-field-types/date.md +++ b/_field-types/supported-field-types/date.md @@ -62,7 +62,7 @@ OpenSearch has built-in date formats, but you can also create your own custom fo ## Default format -As of OpenSearch 2.12, the default date format is `strict_date_time_no_millis||strict_date_optional_time||epoch_millis`. To revert the default format back to `strict_date_optional_time||epoch_millis` (the default format for OpenSearch 2.11 and earlier), set the `opensearch.experimental.optimization.datetime_formatter_caching.enabled` feature flag to `false`. For more information about enabling and disabling feature flags, see [Enabling experimental features]({{site.url}}{{site.baseurl}}/install-and-configure/configuring-opensearch/experimental/). +As of OpenSearch 2.12, there is a new experimental default date format `strict_date_time_no_millis||strict_date_optional_time||epoch_millis` (the default format is `strict_date_optional_time||epoch_millis`). To use it, please set the `opensearch.experimental.optimization.datetime_formatter_caching.enabled` feature flag to `true`. For more information about enabling and disabling feature flags, see [Enabling experimental features]({{site.url}}{{site.baseurl}}/install-and-configure/configuring-opensearch/experimental/). ## Built-in formats diff --git a/_install-and-configure/configuring-opensearch/network-settings.md b/_install-and-configure/configuring-opensearch/network-settings.md index 3728c55bc2..f96dde97e1 100644 --- a/_install-and-configure/configuring-opensearch/network-settings.md +++ b/_install-and-configure/configuring-opensearch/network-settings.md @@ -56,4 +56,4 @@ The default OpenSearch transport is provided by the `transport-netty4` module an Plugin | Description :---------- | :-------- `transport-nio` | The OpenSearch transport based on Java NIO.
Installation: `./bin/opensearch-plugin install transport-nio`
Configuration (using `opensearch.yml`):
`transport.type: nio-transport`
`http.type: nio-http-transport` -`transport-reactor-netty4` | The OpenSearch HTTP transport based on [Project Reactor](https://github.com/reactor/reactor-netty) and Netty 4 (**experimental**)
Installation: `./bin/opensearch-plugin install transport-reactor-netty4`
Configuration (using `opensearch.yml`):
`http.type: reactor-netty4` +`transport-reactor-netty4` | The OpenSearch HTTP transport based on [Project Reactor](https://github.com/reactor/reactor-netty) and Netty 4 (**experimental**)
Installation: `./bin/opensearch-plugin install transport-reactor-netty4`
Configuration (using `opensearch.yml`):
`http.type: reactor-netty4`
`http.type: reactor-netty4-secure` From 458ed92f8622cfabdc075e780e380e1dc33c47ec Mon Sep 17 00:00:00 2001 From: Andriy Redko Date: Mon, 6 May 2024 16:37:52 -0400 Subject: [PATCH 2/4] Address code review comments Signed-off-by: Andriy Redko --- _field-types/supported-field-types/date.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_field-types/supported-field-types/date.md b/_field-types/supported-field-types/date.md index c42fcd4c8b..9a76535206 100644 --- a/_field-types/supported-field-types/date.md +++ b/_field-types/supported-field-types/date.md @@ -62,7 +62,7 @@ OpenSearch has built-in date formats, but you can also create your own custom fo ## Default format -As of OpenSearch 2.12, there is a new experimental default date format `strict_date_time_no_millis||strict_date_optional_time||epoch_millis` (the default format is `strict_date_optional_time||epoch_millis`). To use it, please set the `opensearch.experimental.optimization.datetime_formatter_caching.enabled` feature flag to `true`. For more information about enabling and disabling feature flags, see [Enabling experimental features]({{site.url}}{{site.baseurl}}/install-and-configure/configuring-opensearch/experimental/). +As of OpenSearch 2.12, there is a new experimental date format `strict_date_time_no_millis||strict_date_optional_time||epoch_millis` (the default format is `strict_date_optional_time||epoch_millis`). To use it, set the `opensearch.experimental.optimization.datetime_formatter_caching.enabled` feature flag to `true`. For more information about enabling and disabling feature flags, see [Enabling experimental features]({{site.url}}{{site.baseurl}}/install-and-configure/configuring-opensearch/experimental/). ## Built-in formats From 7cb08f0ace0f518d2cc26a4fddf5e0d24960457a Mon Sep 17 00:00:00 2001 From: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com> Date: Tue, 7 May 2024 10:44:33 -0500 Subject: [PATCH 3/4] Apply suggestions from code review Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com> --- _field-types/supported-field-types/date.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_field-types/supported-field-types/date.md b/_field-types/supported-field-types/date.md index 9a76535206..d30c0f9dd3 100644 --- a/_field-types/supported-field-types/date.md +++ b/_field-types/supported-field-types/date.md @@ -62,7 +62,7 @@ OpenSearch has built-in date formats, but you can also create your own custom fo ## Default format -As of OpenSearch 2.12, there is a new experimental date format `strict_date_time_no_millis||strict_date_optional_time||epoch_millis` (the default format is `strict_date_optional_time||epoch_millis`). To use it, set the `opensearch.experimental.optimization.datetime_formatter_caching.enabled` feature flag to `true`. For more information about enabling and disabling feature flags, see [Enabling experimental features]({{site.url}}{{site.baseurl}}/install-and-configure/configuring-opensearch/experimental/). +As of OpenSearch 2.12, you can to choose to use an experimental default date format, `strict_date_time_no_millis||strict_date_optional_time||epoch_millis`. To use the experimental default, set the `opensearch.experimental.optimization.datetime_formatter_caching.enabled` feature flag to `true`. For more information about enabling and disabling feature flags, see [Enabling experimental features]({{site.url}}{{site.baseurl}}/install-and-configure/configuring-opensearch/experimental/). ## Built-in formats From ca4bc6edab0b5737b0c784a589ca49fc5169f262 Mon Sep 17 00:00:00 2001 From: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com> Date: Tue, 7 May 2024 11:50:26 -0500 Subject: [PATCH 4/4] Apply suggestions from code review Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com> --- _field-types/supported-field-types/date.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_field-types/supported-field-types/date.md b/_field-types/supported-field-types/date.md index d30c0f9dd3..fb008d1512 100644 --- a/_field-types/supported-field-types/date.md +++ b/_field-types/supported-field-types/date.md @@ -62,7 +62,7 @@ OpenSearch has built-in date formats, but you can also create your own custom fo ## Default format -As of OpenSearch 2.12, you can to choose to use an experimental default date format, `strict_date_time_no_millis||strict_date_optional_time||epoch_millis`. To use the experimental default, set the `opensearch.experimental.optimization.datetime_formatter_caching.enabled` feature flag to `true`. For more information about enabling and disabling feature flags, see [Enabling experimental features]({{site.url}}{{site.baseurl}}/install-and-configure/configuring-opensearch/experimental/). +As of OpenSearch 2.12, you can to choose to use an experimental default date format, `strict_date_time_no_millis||strict_date_optional_time||epoch_millis`. To use the experimental default, set the `opensearch.experimental.optimization.datetime_formatter_caching.enabled` feature flag to `true`. For more information about enabling and disabling feature flags, see [Enabling experimental features]({{site.url}}{{site.baseurl}}/install-and-configure/configuring-opensearch/experimental/). ## Built-in formats