File tree 1 file changed +4
-9
lines changed
1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change 1
1
<p align =" center " >
2
-
3
2
<a href =" https://travis-ci.org/basemkhirat/elasticsearch " ><img src =" https://travis-ci.org/basemkhirat/elasticsearch.svg?branch=master " alt =" Build Status " ></a >
4
-
5
3
<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
-
7
4
<a href =" https://packagist.org/packages/basemkhirat/elasticsearch " ><img src =" https://poser.pugx.org/basemkhirat/elasticsearch/d/total.svg " alt =" Total Downloads " ></a >
8
-
9
5
<a href =" https://packagist.org/packages/basemkhirat/elasticsearch " ><img src =" https://poser.pugx.org/basemkhirat/elasticsearch/license.svg " alt =" License " ></a >
10
-
11
6
</p >
12
7
13
8
<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([
857
852
# Bulk update
858
853
859
854
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"]);
862
857
});
863
858
```
864
859
@@ -926,8 +921,8 @@ ES::type("my_type")->id(3)->delete();
926
921
# Bulk delete
927
922
928
923
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();
931
926
});
932
927
```
933
928
You can’t perform that action at this time.
0 commit comments