diff --git a/docs/painless/painless-contexts/painless-similarity-context.asciidoc b/docs/painless/painless-contexts/painless-similarity-context.asciidoc index 58609ce705e10..1d847f516c8be 100644 --- a/docs/painless/painless-contexts/painless-similarity-context.asciidoc +++ b/docs/painless/painless-contexts/painless-similarity-context.asciidoc @@ -16,7 +16,7 @@ documents in a query. User-defined parameters passed in at query-time. `weight` (`float`, read-only):: - The weight as calculated by a {ref}/painless-weight-context[weight script] + The weight as calculated by a <> `query.boost` (`float`, read-only):: The boost value if provided by the query. If this is not provided the