Code PHP để bạn thực thiện tạo dữ liệu, lấy json (ok)
https://thinhpc86.wordpress.com/2015/08/25/elasticsearch-php-mysql-thuc-hanh-phan-9-bulk-api/
Ví dụ 1:
C:\xampp\htdocs\elasticsearch\index.php
<?php
$DbName = 'wordpress';
$DbUserName = 'root';
$DbUserPass = '';
$DbOptions = array(
PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8',
);
$DsnMySql = 'mysql:host=localhost;dbname=' . $DbName;
$dbh = new PDO($DsnMySql, $DbUserName, $DbUserPass, $DbOptions);
$dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$sql = "SELECT * from wp_posts";
$query = $dbh->prepare($sql, array(PDO::ATTR_CURSOR => PDO::CURSOR_FWDONLY));
if ($query->execute() === FALSE) {
throw new Exception('Failed Database execution');
}
$str = "";
while ($row = $query->fetch(PDO::FETCH_ASSOC)) {
$item = [];
$id = $row['ID'];
$item["post_title"] = $row['post_title'];
$arr = array(
"index" => array(
"_id" => $id,
),
);
$str .= json_encode($arr) . "\n";
$str .= json_encode($item) . "\n";
}
$url = "http://localhost:9200/indexlionel/typelioenl/_bulk?pretty";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $str);
curl_setopt($ch, CURLOPT_HTTPHEADER,
array(
'Content-Type:application/json'
)
);
ob_start(); // prevent any output
$output = curl_exec($ch); // execute the curl command
ob_end_clean(); // stop preventing output
curl_close($ch);
echo $output;
// $arrs = json_decode($output, true);
// echo '<pre>';
// var_export($arrs);
// echo '</pre>';
?>
Ví dụ 2: Lấy dữ liệu đã index
Ví dụ 3: Lấy dữ liệu từ api
C:\xampp\htdocs\elasticsearch\index.php
<?php
$cURLConnection = curl_init();
curl_setopt($cURLConnection, CURLOPT_URL, 'https://jsonplaceholder.typicode.com/posts');
curl_setopt($cURLConnection, CURLOPT_RETURNTRANSFER, true);
$phoneList = curl_exec($cURLConnection);
curl_close($cURLConnection);
$jsonArrayResponse = json_decode($phoneList);
echo '<pre>';
var_export($jsonArrayResponse);
echo '</pre>';
?>
Ví dụ 4: Lấy dữ liệu từ curl
C:\xampp\htdocs\elasticsearch\index.php
<?php
$cURLConnection = curl_init();
curl_setopt($cURLConnection, CURLOPT_URL, 'localhost:9200/indexname/typename/2?pretty');
curl_setopt($cURLConnection, CURLOPT_RETURNTRANSFER, true);
$phoneList = curl_exec($cURLConnection);
curl_close($cURLConnection);
$jsonArrayResponse = json_decode($phoneList);
echo '<pre>';
var_export($jsonArrayResponse);
echo '</pre>';
?>
Ví dụ 2: Tạo dữ liệu
<?php
$DbName = 'wordpress';
$DbUserName = 'root';
$DbUserPass = '';
$DbOptions = array(
PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8',
);
$DsnMySql = 'mysql:host=localhost;dbname=' . $DbName;
$dbh = new PDO($DsnMySql, $DbUserName, $DbUserPass, $DbOptions);
$dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$sql = "SELECT * from wp_posts";
$query = $dbh->prepare($sql, array(PDO::ATTR_CURSOR => PDO::CURSOR_FWDONLY));
if ($query->execute() === FALSE) {
throw new Exception('Failed Database execution');
}
$str = "";
while ($row = $query->fetch(PDO::FETCH_ASSOC)) {
$item = [];
$id = $row['ID'];
$item["post_title"] = $row['post_title'];
$arr = array(
"index" => array(
"_id" => $id,
),
);
$str .= json_encode($arr) . "\n";
$str .= json_encode($item) . "\n";
}
$url = "http://localhost:9200/indexname/typename/_bulk?pretty";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $str);
curl_setopt($ch, CURLOPT_HTTPHEADER,
array(
'Content-Type:application/json'
)
);
ob_start(); // prevent any output
$output = curl_exec($ch); // execute the curl command
ob_end_clean(); // stop preventing output
curl_close($ch);
$arrs = json_decode($output, true);
echo '<pre>';
var_export($arrs);
echo '</pre>';
?>
array (
'took' => 145,
'errors' => false,
'items' =>
array (
0 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '1',
'_version' => 3,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 238,
'_primary_term' => 1,
'status' => 200,
),
),
1 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '2',
'_version' => 3,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 239,
'_primary_term' => 1,
'status' => 200,
),
),
2 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '3',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 240,
'_primary_term' => 1,
'status' => 200,
),
),
3 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '4',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 241,
'_primary_term' => 1,
'status' => 200,
),
),
4 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '5',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 242,
'_primary_term' => 1,
'status' => 200,
),
),
5 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '6',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 243,
'_primary_term' => 1,
'status' => 200,
),
),
6 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '7',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 244,
'_primary_term' => 1,
'status' => 200,
),
),
7 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '8',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 245,
'_primary_term' => 1,
'status' => 200,
),
),
8 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '9',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 246,
'_primary_term' => 1,
'status' => 200,
),
),
9 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '10',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 247,
'_primary_term' => 1,
'status' => 200,
),
),
10 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '11',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 248,
'_primary_term' => 1,
'status' => 200,
),
),
11 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '12',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 249,
'_primary_term' => 1,
'status' => 200,
),
),
12 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '13',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 250,
'_primary_term' => 1,
'status' => 200,
),
),
13 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '14',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 251,
'_primary_term' => 1,
'status' => 200,
),
),
14 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '15',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 252,
'_primary_term' => 1,
'status' => 200,
),
),
15 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '16',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 253,
'_primary_term' => 1,
'status' => 200,
),
),
16 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '17',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 254,
'_primary_term' => 1,
'status' => 200,
),
),
17 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '18',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 255,
'_primary_term' => 1,
'status' => 200,
),
),
18 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '19',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 256,
'_primary_term' => 1,
'status' => 200,
),
),
19 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '20',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 257,
'_primary_term' => 1,
'status' => 200,
),
),
20 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '21',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 258,
'_primary_term' => 1,
'status' => 200,
),
),
21 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '22',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 259,
'_primary_term' => 1,
'status' => 200,
),
),
22 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '23',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 260,
'_primary_term' => 1,
'status' => 200,
),
),
23 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '24',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 261,
'_primary_term' => 1,
'status' => 200,
),
),
24 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '25',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 262,
'_primary_term' => 1,
'status' => 200,
),
),
25 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '26',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 263,
'_primary_term' => 1,
'status' => 200,
),
),
26 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '27',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 264,
'_primary_term' => 1,
'status' => 200,
),
),
27 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '28',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 265,
'_primary_term' => 1,
'status' => 200,
),
),
28 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '29',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 266,
'_primary_term' => 1,
'status' => 200,
),
),
29 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '30',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 267,
'_primary_term' => 1,
'status' => 200,
),
),
30 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '31',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 268,
'_primary_term' => 1,
'status' => 200,
),
),
31 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '32',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 269,
'_primary_term' => 1,
'status' => 200,
),
),
32 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '33',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 270,
'_primary_term' => 1,
'status' => 200,
),
),
33 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '34',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 271,
'_primary_term' => 1,
'status' => 200,
),
),
34 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '35',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 272,
'_primary_term' => 1,
'status' => 200,
),
),
35 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '36',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 273,
'_primary_term' => 1,
'status' => 200,
),
),
36 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '37',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 274,
'_primary_term' => 1,
'status' => 200,
),
),
37 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '38',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 275,
'_primary_term' => 1,
'status' => 200,
),
),
38 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '39',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 276,
'_primary_term' => 1,
'status' => 200,
),
),
39 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '40',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 277,
'_primary_term' => 1,
'status' => 200,
),
),
40 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '41',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 278,
'_primary_term' => 1,
'status' => 200,
),
),
41 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '42',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 279,
'_primary_term' => 1,
'status' => 200,
),
),
42 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '43',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 280,
'_primary_term' => 1,
'status' => 200,
),
),
43 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '44',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 281,
'_primary_term' => 1,
'status' => 200,
),
),
44 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '45',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 282,
'_primary_term' => 1,
'status' => 200,
),
),
45 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '46',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 283,
'_primary_term' => 1,
'status' => 200,
),
),
46 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '47',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 284,
'_primary_term' => 1,
'status' => 200,
),
),
47 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '48',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 285,
'_primary_term' => 1,
'status' => 200,
),
),
48 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '49',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 286,
'_primary_term' => 1,
'status' => 200,
),
),
49 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '50',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 287,
'_primary_term' => 1,
'status' => 200,
),
),
50 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '51',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 288,
'_primary_term' => 1,
'status' => 200,
),
),
51 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '52',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 289,
'_primary_term' => 1,
'status' => 200,
),
),
52 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '53',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 290,
'_primary_term' => 1,
'status' => 200,
),
),
53 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '54',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 291,
'_primary_term' => 1,
'status' => 200,
),
),
54 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '55',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 292,
'_primary_term' => 1,
'status' => 200,
),
),
55 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '56',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 293,
'_primary_term' => 1,
'status' => 200,
),
),
56 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '57',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 294,
'_primary_term' => 1,
'status' => 200,
),
),
57 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '58',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 295,
'_primary_term' => 1,
'status' => 200,
),
),
58 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '59',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 296,
'_primary_term' => 1,
'status' => 200,
),
),
59 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '60',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 297,
'_primary_term' => 1,
'status' => 200,
),
),
60 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '61',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 298,
'_primary_term' => 1,
'status' => 200,
),
),
61 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '62',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 299,
'_primary_term' => 1,
'status' => 200,
),
),
62 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '63',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 300,
'_primary_term' => 1,
'status' => 200,
),
),
63 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '64',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 301,
'_primary_term' => 1,
'status' => 200,
),
),
64 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '65',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 302,
'_primary_term' => 1,
'status' => 200,
),
),
65 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '66',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 303,
'_primary_term' => 1,
'status' => 200,
),
),
66 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '67',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 304,
'_primary_term' => 1,
'status' => 200,
),
),
67 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '68',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 305,
'_primary_term' => 1,
'status' => 200,
),
),
68 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '69',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 306,
'_primary_term' => 1,
'status' => 200,
),
),
69 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '70',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 307,
'_primary_term' => 1,
'status' => 200,
),
),
70 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '71',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 308,
'_primary_term' => 1,
'status' => 200,
),
),
71 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '72',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 309,
'_primary_term' => 1,
'status' => 200,
),
),
72 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '73',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 310,
'_primary_term' => 1,
'status' => 200,
),
),
73 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '74',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 311,
'_primary_term' => 1,
'status' => 200,
),
),
74 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '75',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 312,
'_primary_term' => 1,
'status' => 200,
),
),
75 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '76',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 313,
'_primary_term' => 1,
'status' => 200,
),
),
76 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '77',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 314,
'_primary_term' => 1,
'status' => 200,
),
),
77 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '78',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 315,
'_primary_term' => 1,
'status' => 200,
),
),
78 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '79',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 316,
'_primary_term' => 1,
'status' => 200,
),
),
79 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '80',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 317,
'_primary_term' => 1,
'status' => 200,
),
),
80 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '81',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 318,
'_primary_term' => 1,
'status' => 200,
),
),
81 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '82',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 319,
'_primary_term' => 1,
'status' => 200,
),
),
82 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '83',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 320,
'_primary_term' => 1,
'status' => 200,
),
),
83 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '84',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 321,
'_primary_term' => 1,
'status' => 200,
),
),
84 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '85',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 322,
'_primary_term' => 1,
'status' => 200,
),
),
85 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '86',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 323,
'_primary_term' => 1,
'status' => 200,
),
),
86 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '87',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 324,
'_primary_term' => 1,
'status' => 200,
),
),
87 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '88',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 325,
'_primary_term' => 1,
'status' => 200,
),
),
88 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '89',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 326,
'_primary_term' => 1,
'status' => 200,
),
),
89 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '90',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 327,
'_primary_term' => 1,
'status' => 200,
),
),
90 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '91',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 328,
'_primary_term' => 1,
'status' => 200,
),
),
91 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '92',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 329,
'_primary_term' => 1,
'status' => 200,
),
),
92 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '93',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 330,
'_primary_term' => 1,
'status' => 200,
),
),
93 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '94',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 331,
'_primary_term' => 1,
'status' => 200,
),
),
94 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '95',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 332,
'_primary_term' => 1,
'status' => 200,
),
),
95 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '96',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 333,
'_primary_term' => 1,
'status' => 200,
),
),
96 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '97',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 334,
'_primary_term' => 1,
'status' => 200,
),
),
97 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '98',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 335,
'_primary_term' => 1,
'status' => 200,
),
),
98 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '99',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 336,
'_primary_term' => 1,
'status' => 200,
),
),
99 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '100',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 337,
'_primary_term' => 1,
'status' => 200,
),
),
100 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '101',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 338,
'_primary_term' => 1,
'status' => 200,
),
),
101 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '102',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 339,
'_primary_term' => 1,
'status' => 200,
),
),
102 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '103',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 340,
'_primary_term' => 1,
'status' => 200,
),
),
103 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '104',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 341,
'_primary_term' => 1,
'status' => 200,
),
),
104 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '105',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 342,
'_primary_term' => 1,
'status' => 200,
),
),
105 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '106',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 343,
'_primary_term' => 1,
'status' => 200,
),
),
106 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '107',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 344,
'_primary_term' => 1,
'status' => 200,
),
),
107 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '108',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 345,
'_primary_term' => 1,
'status' => 200,
),
),
108 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '109',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 346,
'_primary_term' => 1,
'status' => 200,
),
),
109 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '110',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 347,
'_primary_term' => 1,
'status' => 200,
),
),
110 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '111',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 348,
'_primary_term' => 1,
'status' => 200,
),
),
111 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '112',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 349,
'_primary_term' => 1,
'status' => 200,
),
),
112 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '113',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 350,
'_primary_term' => 1,
'status' => 200,
),
),
113 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '114',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 351,
'_primary_term' => 1,
'status' => 200,
),
),
114 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '115',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 352,
'_primary_term' => 1,
'status' => 200,
),
),
115 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '116',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 353,
'_primary_term' => 1,
'status' => 200,
),
),
116 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '117',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 354,
'_primary_term' => 1,
'status' => 200,
),
),
117 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '118',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 355,
'_primary_term' => 1,
'status' => 200,
),
),
118 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '119',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 356,
'_primary_term' => 1,
'status' => 200,
),
),
119 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '120',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 357,
'_primary_term' => 1,
'status' => 200,
),
),
120 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '121',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 358,
'_primary_term' => 1,
'status' => 200,
),
),
121 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '122',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 359,
'_primary_term' => 1,
'status' => 200,
),
),
122 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '123',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 360,
'_primary_term' => 1,
'status' => 200,
),
),
123 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '124',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 361,
'_primary_term' => 1,
'status' => 200,
),
),
124 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '125',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 362,
'_primary_term' => 1,
'status' => 200,
),
),
125 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '126',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 363,
'_primary_term' => 1,
'status' => 200,
),
),
126 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '127',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 364,
'_primary_term' => 1,
'status' => 200,
),
),
127 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '128',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 365,
'_primary_term' => 1,
'status' => 200,
),
),
128 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '129',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 366,
'_primary_term' => 1,
'status' => 200,
),
),
129 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '130',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 367,
'_primary_term' => 1,
'status' => 200,
),
),
130 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '131',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 368,
'_primary_term' => 1,
'status' => 200,
),
),
131 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '132',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 369,
'_primary_term' => 1,
'status' => 200,
),
),
132 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '133',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 370,
'_primary_term' => 1,
'status' => 200,
),
),
133 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '134',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 371,
'_primary_term' => 1,
'status' => 200,
),
),
134 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '135',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 372,
'_primary_term' => 1,
'status' => 200,
),
),
135 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '136',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 373,
'_primary_term' => 1,
'status' => 200,
),
),
136 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '137',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 374,
'_primary_term' => 1,
'status' => 200,
),
),
137 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '138',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 375,
'_primary_term' => 1,
'status' => 200,
),
),
138 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '139',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 376,
'_primary_term' => 1,
'status' => 200,
),
),
139 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '140',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 377,
'_primary_term' => 1,
'status' => 200,
),
),
140 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '141',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 378,
'_primary_term' => 1,
'status' => 200,
),
),
141 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '142',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 379,
'_primary_term' => 1,
'status' => 200,
),
),
142 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '143',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 380,
'_primary_term' => 1,
'status' => 200,
),
),
143 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '144',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 381,
'_primary_term' => 1,
'status' => 200,
),
),
144 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '145',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 382,
'_primary_term' => 1,
'status' => 200,
),
),
145 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '146',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 383,
'_primary_term' => 1,
'status' => 200,
),
),
146 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '147',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 384,
'_primary_term' => 1,
'status' => 200,
),
),
147 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '148',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 385,
'_primary_term' => 1,
'status' => 200,
),
),
148 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '149',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 386,
'_primary_term' => 1,
'status' => 200,
),
),
149 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '150',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 387,
'_primary_term' => 1,
'status' => 200,
),
),
150 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '151',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 388,
'_primary_term' => 1,
'status' => 200,
),
),
151 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '152',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 389,
'_primary_term' => 1,
'status' => 200,
),
),
152 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '153',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 390,
'_primary_term' => 1,
'status' => 200,
),
),
153 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '154',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 391,
'_primary_term' => 1,
'status' => 200,
),
),
154 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '155',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 392,
'_primary_term' => 1,
'status' => 200,
),
),
155 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '156',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 393,
'_primary_term' => 1,
'status' => 200,
),
),
156 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '157',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 394,
'_primary_term' => 1,
'status' => 200,
),
),
157 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '158',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 395,
'_primary_term' => 1,
'status' => 200,
),
),
158 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '159',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 396,
'_primary_term' => 1,
'status' => 200,
),
),
159 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '160',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 397,
'_primary_term' => 1,
'status' => 200,
),
),
160 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '161',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 398,
'_primary_term' => 1,
'status' => 200,
),
),
161 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '162',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 399,
'_primary_term' => 1,
'status' => 200,
),
),
162 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '163',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 400,
'_primary_term' => 1,
'status' => 200,
),
),
163 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '164',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 401,
'_primary_term' => 1,
'status' => 200,
),
),
164 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '165',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 402,
'_primary_term' => 1,
'status' => 200,
),
),
165 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '166',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 403,
'_primary_term' => 1,
'status' => 200,
),
),
166 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '167',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 404,
'_primary_term' => 1,
'status' => 200,
),
),
167 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '168',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 405,
'_primary_term' => 1,
'status' => 200,
),
),
168 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '169',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 406,
'_primary_term' => 1,
'status' => 200,
),
),
169 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '170',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 407,
'_primary_term' => 1,
'status' => 200,
),
),
170 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '171',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 408,
'_primary_term' => 1,
'status' => 200,
),
),
171 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '172',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 409,
'_primary_term' => 1,
'status' => 200,
),
),
172 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '173',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 410,
'_primary_term' => 1,
'status' => 200,
),
),
173 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '174',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 411,
'_primary_term' => 1,
'status' => 200,
),
),
174 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '175',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 412,
'_primary_term' => 1,
'status' => 200,
),
),
175 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '176',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 413,
'_primary_term' => 1,
'status' => 200,
),
),
176 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '177',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 414,
'_primary_term' => 1,
'status' => 200,
),
),
177 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '178',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 415,
'_primary_term' => 1,
'status' => 200,
),
),
178 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '179',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 416,
'_primary_term' => 1,
'status' => 200,
),
),
179 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '180',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 417,
'_primary_term' => 1,
'status' => 200,
),
),
180 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '181',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 418,
'_primary_term' => 1,
'status' => 200,
),
),
181 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '182',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 419,
'_primary_term' => 1,
'status' => 200,
),
),
182 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '183',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 420,
'_primary_term' => 1,
'status' => 200,
),
),
183 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '184',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 421,
'_primary_term' => 1,
'status' => 200,
),
),
184 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '185',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 422,
'_primary_term' => 1,
'status' => 200,
),
),
185 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '186',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 423,
'_primary_term' => 1,
'status' => 200,
),
),
186 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '187',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 424,
'_primary_term' => 1,
'status' => 200,
),
),
187 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '188',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 425,
'_primary_term' => 1,
'status' => 200,
),
),
188 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '189',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 426,
'_primary_term' => 1,
'status' => 200,
),
),
189 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '190',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 427,
'_primary_term' => 1,
'status' => 200,
),
),
190 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '191',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 428,
'_primary_term' => 1,
'status' => 200,
),
),
191 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '192',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 429,
'_primary_term' => 1,
'status' => 200,
),
),
192 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '193',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 430,
'_primary_term' => 1,
'status' => 200,
),
),
193 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '194',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 431,
'_primary_term' => 1,
'status' => 200,
),
),
194 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '195',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 432,
'_primary_term' => 1,
'status' => 200,
),
),
195 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '196',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 433,
'_primary_term' => 1,
'status' => 200,
),
),
196 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '197',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 434,
'_primary_term' => 1,
'status' => 200,
),
),
197 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '198',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 435,
'_primary_term' => 1,
'status' => 200,
),
),
198 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '199',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 436,
'_primary_term' => 1,
'status' => 200,
),
),
199 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '200',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 437,
'_primary_term' => 1,
'status' => 200,
),
),
200 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '201',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 438,
'_primary_term' => 1,
'status' => 200,
),
),
201 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '202',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 439,
'_primary_term' => 1,
'status' => 200,
),
),
202 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '203',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 440,
'_primary_term' => 1,
'status' => 200,
),
),
203 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '204',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 441,
'_primary_term' => 1,
'status' => 200,
),
),
204 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '205',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 442,
'_primary_term' => 1,
'status' => 200,
),
),
205 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '206',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 443,
'_primary_term' => 1,
'status' => 200,
),
),
206 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '207',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 444,
'_primary_term' => 1,
'status' => 200,
),
),
207 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '208',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 445,
'_primary_term' => 1,
'status' => 200,
),
),
208 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '209',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 446,
'_primary_term' => 1,
'status' => 200,
),
),
209 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '210',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 447,
'_primary_term' => 1,
'status' => 200,
),
),
210 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '211',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 448,
'_primary_term' => 1,
'status' => 200,
),
),
211 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '212',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 449,
'_primary_term' => 1,
'status' => 200,
),
),
212 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '213',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 450,
'_primary_term' => 1,
'status' => 200,
),
),
213 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '214',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 451,
'_primary_term' => 1,
'status' => 200,
),
),
214 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '215',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 452,
'_primary_term' => 1,
'status' => 200,
),
),
215 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '216',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 453,
'_primary_term' => 1,
'status' => 200,
),
),
216 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '217',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 454,
'_primary_term' => 1,
'status' => 200,
),
),
217 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '218',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 455,
'_primary_term' => 1,
'status' => 200,
),
),
218 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '219',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 456,
'_primary_term' => 1,
'status' => 200,
),
),
219 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '220',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 457,
'_primary_term' => 1,
'status' => 200,
),
),
220 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '221',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 458,
'_primary_term' => 1,
'status' => 200,
),
),
221 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '222',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 459,
'_primary_term' => 1,
'status' => 200,
),
),
222 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '223',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 460,
'_primary_term' => 1,
'status' => 200,
),
),
223 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '224',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 461,
'_primary_term' => 1,
'status' => 200,
),
),
224 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '225',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 462,
'_primary_term' => 1,
'status' => 200,
),
),
225 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '226',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 463,
'_primary_term' => 1,
'status' => 200,
),
),
226 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '227',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 464,
'_primary_term' => 1,
'status' => 200,
),
),
227 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '228',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 465,
'_primary_term' => 1,
'status' => 200,
),
),
228 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '229',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 466,
'_primary_term' => 1,
'status' => 200,
),
),
229 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '230',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 467,
'_primary_term' => 1,
'status' => 200,
),
),
230 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '231',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 468,
'_primary_term' => 1,
'status' => 200,
),
),
231 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '232',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 469,
'_primary_term' => 1,
'status' => 200,
),
),
232 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '233',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 470,
'_primary_term' => 1,
'status' => 200,
),
),
233 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '234',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 471,
'_primary_term' => 1,
'status' => 200,
),
),
234 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '235',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 472,
'_primary_term' => 1,
'status' => 200,
),
),
235 =>
array (
'index' =>
array (
'_index' => 'indexname',
'_type' => 'typename',
'_id' => '236',
'_version' => 2,
'result' => 'updated',
'_shards' =>
array (
'total' => 2,
'successful' => 1,
'failed' => 0,
),
'_seq_no' => 473,
'_primary_term' => 1,
'status' => 200,
),
),
),
)dfsda
PreviousElasticSearch & php & mysql thực hành – Phần 10 – queue capacity 1000NextSync Data From MySQL To ElasticSearch
Last updated