File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed
Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change 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
859854ES::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
928923ES::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
You can’t perform that action at this time.
0 commit comments