anchor.diff:  `time` ({ref}/keyword.html[`keyword`])::
           The time of the play as a keyword.
   
  -. {defguide}/running-elasticsearch.html[Start] Elasticsearch. Note these
  -examples assume Elasticsearch and Kibana are running locally. To use the Console
  -editor with a remote Kibana instance, click the settings icon and enter the
  -Console URL. To submit a cURL request to a remote Elasticsearch instance, edit
  -the request URL.
  +==== Prerequisites
  +Start an {ref}/getting-started-install.html[{es} instance], and then access the
  +{kibana-ref}/console-kibana.html[Console] in {kib}.
   
  -. Create {ref}/mapping.html[mappings] for the sample data:
  +==== Configure the `seat` sample data
  +. From the {kib} Console, create {ref}/mapping.html[mappings] for the sample
  +data:
   +
   [source,console]
   ----
  
positive.code: ----
  +
  
  . Run the <<painless-ingest-processor-context, ingest processor context>>
  example. This sets up a script ingest processor used on each document as the
  seat data is indexed.
  
  . Index the seat data:
  +
  [source,js]
  ----
  curl -XPOST "localhost:9200/seats/_bulk?pipeline=seats" -H "Content-Type: application/x-ndjson" --data-binary "@/<local-file-path>/seats.json"
  ----
  // NOTCONSOLE
  
negative.code: [[painless-context-examples]]
  === Context examples
  
  Complete the following steps to index the `seat` sample data into {es}. The
  examples for each context rely on this sample data.
  
  Each document in the `seat` data contains the following fields:
  
  `theatre` ({ref}/keyword.html[`keyword`])::
          The name of the theater the play is in.
  `play` ({ref}/text.html[`text`])::
  