Skip to content

Commit

Permalink
Fix broken links in painless docs (#36170)
Browse files Browse the repository at this point in the history
  • Loading branch information
romseygeek authored Dec 3, 2018
1 parent 59ee8b5 commit 19b936d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ documents in a query.

`doc.length` (`long`, read-only)::
The number of tokens the current document has in the current field. This
is decoded from the stored {ref}/norms[norms] and may be approximate for
is decoded from the stored {ref}/norms.html[norms] and may be approximate for
long fields

`doc.freq` (`long`, read-only)::
The number of occurrences of the current term in the current
document for the current field.

Note that the `query`, `field`, and `term` variables are also available to the
{ref}/painless-weight-context[weight context]. They are more efficiently used
{painless}/painless-weight-context.html[weight context]. They are more efficiently used
there, as they are constant for all documents.

For queries that contain multiple terms, the script is called once for each
Expand Down

0 comments on commit 19b936d

Please sign in to comment.