This manually updates the API links contained in each context doc to correctly point to both the shared API and specialized API if available. This is a temporary fix until full automation is completed for generating context documentation.
@@ -40,4 +40,4 @@ analysis chain matches a predicate.
*API*
-The standard <<painless-api-reference, Painless API>> is available.
+The standard <<painless-api-reference-shared, Painless API>> is available.
@@ -18,7 +18,7 @@ numeric::
==== API
==== Example
@@ -19,6 +19,10 @@ boolean::
+
+==== Example
To run this example, first follow the steps in <<painless-context-examples, context examples>>.
@@ -25,7 +25,8 @@ a customized value for each document in the results of a query.
+Both the standard <<painless-api-reference-shared, Painless API>> and
+<<painless-api-reference-field, Specialized Field API>> are available.
*Example*
@@ -23,7 +23,7 @@ query to include and exclude documents.
@@ -38,7 +38,8 @@ void::
+<<painless-api-reference-ingest, Specialized Ingest API>> are available.
@@ -24,4 +24,4 @@ optional as part of a full metric aggregation.
@@ -29,4 +29,4 @@ full metric aggregation.
@@ -44,4 +44,4 @@ part of a full metric aggregation.
@@ -25,4 +25,4 @@ specified) and is optional as part of a full metric aggregation.
@@ -25,7 +25,7 @@ results.
@@ -65,4 +65,4 @@ reindexed into a target index.
@@ -26,7 +26,8 @@ score to documents returned from a query.
+<<painless-api-reference-score, Specialized Score API>> are available.
@@ -56,4 +56,4 @@ uses synonyms.
@@ -25,7 +25,7 @@ Use a Painless script to
@@ -51,7 +51,7 @@ result of query.
@@ -52,7 +52,7 @@ add, modify, or delete fields within a single document.
@@ -14,7 +14,7 @@ include::painless-watcher-context-variables.asciidoc[]
@@ -33,8 +33,7 @@ The following variables are available in all watcher contexts.
-
To run this example, first follow the steps in
<<painless-context-examples, context examples>>.
@@ -39,4 +39,4 @@ Queries that contain multiple terms calculate a separate weight for each term.