Script processor doc links to update API examples which is confusing #72645
Labels
:Data Management/Ingest Node
Execution or management of Ingest Pipelines including GeoIP
>docs
General docs changes
Team:Data Management
Meta label for data/management team
Team:Docs
Meta label for docs team
On this page (https://www.elastic.co/guide/en/elasticsearch/reference/master/script-processor.html), we link to the general scripting examples page that is used by the update API.
This is misleading because the ingest processor context for painless is different from the update API. Users end up trying to get the update API examples working (for example,
ctx._source
does not work in the ingest node context).It will be helpful to have an example page linked from script processor that is for ingest node (does not include all the examples for other non-ingest use cases of painless), or provide ingest node script processor examples directly on the script processor page. Thx!
The text was updated successfully, but these errors were encountered: