Skip to content

Commit 256287f

Browse files
vagimelicwillumnatebower
committed
[DOC] Add new property setting fast_double_writer to install documentation (#4580)
* add new property setting --------- Signed-off-by: Melissa Vagi <[email protected]> Co-authored-by: Chris Moore <[email protected]> Co-authored-by: Nathan Bower <[email protected]>
1 parent 32389c6 commit 256287f

File tree

1 file changed

+5
-5
lines changed
  • _install-and-configure/install-opensearch

1 file changed

+5
-5
lines changed

_install-and-configure/install-opensearch/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ Do not declare the same JVM options in multiple locations because it can result
102102

103103
## Important system properties
104104

105-
OpenSearch has a number of system properties that you can specify in `config/jvm.options` or `OPENSEARCH_JAVA_OPTS` using `-D` command line argument notation, for example:
106-
107-
- `opensearch.xcontent.string.length.max=<value>`
108-
109-
By default, OpenSearch does not impose any limits on the maximum length of the JSON string fields. To protect your cluster from potential distributed denial-of-service (DDoS) or memory issues, you can set the `opensearch.xcontent.string.length.max` system property to a reasonable limit (the maximum is 2,147,483,647), for example, `-Dopensearch.xcontent.string.length.max=5000000`.
105+
OpenSearch has a number of system properties, listed in the following table, that you can specify in `config/jvm.options` or `OPENSEARCH_JAVA_OPTS` using `-D` command line argument notation.
110106

107+
Property | Description
108+
:---------- | :--------
109+
`opensearch.xcontent.string.length.max=<value>` | By default, OpenSearch does not impose any limits on the maximum length of the JSON string fields. To protect your cluster from potential distributed denial-of-service (DDoS) or memory issues, you can set the `opensearch.xcontent.string.length.max` system property to a reasonable limit (the maximum is 2,147,483,647), for example, `-Dopensearch.xcontent.string.length.max=5000000`. |
110+
`opensearch.xcontent.fast_double_writer=[true|false]` | By default, OpenSearch serializes floating-point numbers using the default implementation provided by the Java Runtime Environment. Set this value to `true` to use the Schubfach algorithm, which is faster but may lead to small differences in precision. Default is `false`. |

0 commit comments

Comments
 (0)