Browse Source

Use plain text instead of latexmath

As latexmath is not rendered, using plain text instead

Closes #37718
Mayya Sharipova 6 years ago
parent
commit
942fc13af5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/reference/query-dsl/script-score-query.asciidoc

+ 2 - 2
docs/reference/query-dsl/script-score-query.asciidoc

@@ -53,7 +53,7 @@ rewriting equivalent functions of your own, as these functions try
 to be the most efficient by using the internal mechanisms.
 
 ===== rational
-latexmath:[rational(value,k) = value/(k + value)]
+`rational(value,k) = value/(k + value)`
 
 [source,js]
 --------------------------------------------------
@@ -64,7 +64,7 @@ latexmath:[rational(value,k) = value/(k + value)]
 // NOTCONSOLE
 
 ===== sigmoid
-latexmath:[sigmoid(value, k, a) = value^a/ (k^a + value^a)]
+`sigmoid(value, k, a) = value^a/ (k^a + value^a)`
 
 [source,js]
 --------------------------------------------------