From 2baa19ea646180986eddab94e9306958be494e5a Mon Sep 17 00:00:00 2001 From: FUJI Goro Date: Wed, 28 Feb 2018 03:29:43 +0900 Subject: [PATCH] [Docs] Specify function score logarithm modifiers (#28821) The logarithm with base 10 is called "Common Logarithm". --- docs/reference/query-dsl/function-score-query.asciidoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/reference/query-dsl/function-score-query.asciidoc b/docs/reference/query-dsl/function-score-query.asciidoc index 42b74712d96..4b4a82594a1 100644 --- a/docs/reference/query-dsl/function-score-query.asciidoc +++ b/docs/reference/query-dsl/function-score-query.asciidoc @@ -302,9 +302,9 @@ There are a number of options for the `field_value_factor` function: | Modifier | Meaning | `none` | Do not apply any multiplier to the field value -| `log` | Take the https://en.wikipedia.org/wiki/Logarithm[logarithm] of the field value -| `log1p` | Add 1 to the field value and take the logarithm -| `log2p` | Add 2 to the field value and take the logarithm +| `log` | Take the https://en.wikipedia.org/wiki/Common_logarithm[common logarithm] of the field value +| `log1p` | Add 1 to the field value and take the common logarithm +| `log2p` | Add 2 to the field value and take the common logarithm | `ln` | Take the https://en.wikipedia.org/wiki/Natural_logarithm[natural logarithm] of the field value | `ln1p` | Add 1 to the field value and take the natural logarithm | `ln2p` | Add 2 to the field value and take the natural logarithm