Skip to content

Commit

Permalink
Merge pull request #938 from philkra/add-missing-doc-example
Browse files Browse the repository at this point in the history
Missing Implementation for Doc Examples
  • Loading branch information
philkra authored Aug 21, 2019
2 parents 03337ac + ed84392 commit 8692b46
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 28 deletions.
4 changes: 0 additions & 4 deletions examples/47b5ff897f26e9c943cee5c06034181d.adoc

This file was deleted.

4 changes: 0 additions & 4 deletions examples/c5e5873783246c7b1c01d8464fed72c4.adoc

This file was deleted.

4 changes: 0 additions & 4 deletions examples/d90a84a24a407731dfc1929ac8327746.adoc

This file was deleted.

34 changes: 18 additions & 16 deletions examples/docs/src/Examples/Docs/Docs/Get.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,22 +140,24 @@ public function testExampleL109_913770050ebbf3b9b549a899bc11060a()
{
$client = $this->getClient();
// tag::913770050ebbf3b9b549a899bc11060a[]
// TODO -- Implement Example
// PUT twitter
// {
// "mappings": {
// "properties": {
// "counter": {
// "type": "integer",
// "store": false
// },
// "tags": {
// "type": "keyword",
// "store": true
// }
// }
// }
// }
$params = [
'index' => 'twitter',
'body' => [
'mappings' => [
'properties' => [
'counter' => [
'type' => 'integer',
'store' => false,
],
'tags' => [
'type' => 'keyword',
'store' => true,
],
],
],
],
];
$response = $client->indices()->putMapping($params);
// end::913770050ebbf3b9b549a899bc11060a[]

$curl = 'PUT twitter'
Expand Down

0 comments on commit 8692b46

Please sign in to comment.