Skip to content

Commit

Permalink
[DOCS] Updating sample data link to the initial version: seats-init.j…
Browse files Browse the repository at this point in the history
…son (#45632)
  • Loading branch information
debadair authored Aug 15, 2019
1 parent 302c270 commit 5ed1b93
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ To run the examples, index the sample seat data into Elasticsearch. The examples
must be run sequentially to work correctly.

. Download the
https://download.elastic.co/demos/painless/contexts/seats.json[seat data]. This
https://download.elastic.co/demos/painless/contexts/seats-init.json[seat data]. This
data set contains booking information for a collection of plays. Each document
represents a single seat for a play at a particular theater on a specific date
and time.
Expand Down Expand Up @@ -72,7 +72,7 @@ seat data is indexed.
+
[source,js]
----
curl -XPOST localhost:9200/seats/seat/_bulk?pipeline=seats -H "Content-Type: application/x-ndjson" --data-binary "@/<local-file-path>/seats.json"
curl -XPOST localhost:9200/seats/seat/_bulk?pipeline=seats -H "Content-Type: application/x-ndjson" --data-binary "@/<local-file-path>/seats-init.json"
----
// NOTCONSOLE

0 comments on commit 5ed1b93

Please sign in to comment.