Skip to content

Commit 58ce78f

Browse files
authored
Update readme.md
1 parent ce6792b commit 58ce78f

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

readme.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
<p align="center">
2-
32
<a href="https://travis-ci.org/basemkhirat/elasticsearch"><img src="https://travis-ci.org/basemkhirat/elasticsearch.svg?branch=master" alt="Build Status"></a>
4-
53
<a href="https://packagist.org/packages/basemkhirat/elasticsearch"><img src="https://poser.pugx.org/basemkhirat/elasticsearch/v/stable.svg" alt="Latest Stable Version"></a>
6-
74
<a href="https://packagist.org/packages/basemkhirat/elasticsearch"><img src="https://poser.pugx.org/basemkhirat/elasticsearch/d/total.svg" alt="Total Downloads"></a>
8-
95
<a href="https://packagist.org/packages/basemkhirat/elasticsearch"><img src="https://poser.pugx.org/basemkhirat/elasticsearch/license.svg" alt="License"></a>
10-
116
</p>
127

138
<p align="center"><img src="http://basemkhirat.com/images/basemkhirat-elasticsearch.png?123"></p>
@@ -857,8 +852,8 @@ ES::type("my_type")->id(3)->update([
857852
# Bulk update
858853

859854
ES::type("my_type")->bulk(function ($bulk){
860-
$bulk->id(10)->update(["title" => "Test document 1","content" => "Sample content 1"]);
861-
$bulk->id(11)->update(["title" => "Test document 2","content" => "Sample content 2"]);
855+
$bulk->id(10)->update(["title" => "Test document 1","content" => "Sample content 1"]);
856+
$bulk->id(11)->update(["title" => "Test document 2","content" => "Sample content 2"]);
862857
});
863858
```
864859

@@ -926,8 +921,8 @@ ES::type("my_type")->id(3)->delete();
926921
# Bulk delete
927922

928923
ES::type("my_type")->bulk(function ($bulk){
929-
$bulk->id(10)->delete();
930-
$bulk->id(11)->delete();
924+
$bulk->id(10)->delete();
925+
$bulk->id(11)->delete();
931926
});
932927
```
933928

0 commit comments

Comments
 (0)