Skip to content

Commit b99c7b1

Browse files
authored
Merge pull request #190 from ezimuel/fix/184
Fix for #184 adding if_seq_no and if_primary_term in bulk params
2 parents 35c4083 + b5ba037 commit b99c7b1

File tree

1 file changed

+21
-19
lines changed
  • lib/Search/Elasticsearch/Client/6_0/Role

1 file changed

+21
-19
lines changed

lib/Search/Elasticsearch/Client/6_0/Role/API.pm

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -24,25 +24,27 @@ sub api {
2424

2525
'bulk.metadata' => {
2626
params => {
27-
'_index' => '_index',
28-
'index' => '_index',
29-
'_type' => '_type',
30-
'type' => '_type',
31-
'_id' => '_id',
32-
'id' => '_id',
33-
'pipeline' => 'pipeline',
34-
'routing' => 'routing',
35-
'_routing' => 'routing',
36-
'parent' => 'parent',
37-
'_parent' => 'parent',
38-
'timestamp' => 'timestamp',
39-
'_timestamp' => 'timestamp',
40-
'ttl' => 'ttl',
41-
'_ttl' => 'ttl',
42-
'version' => 'version',
43-
'_version' => 'version',
44-
'version_type' => 'version_type',
45-
'_version_type' => 'version_type'
27+
'_index' => '_index',
28+
'index' => '_index',
29+
'_type' => '_type',
30+
'type' => '_type',
31+
'_id' => '_id',
32+
'id' => '_id',
33+
'pipeline' => 'pipeline',
34+
'routing' => 'routing',
35+
'_routing' => 'routing',
36+
'parent' => 'parent',
37+
'_parent' => 'parent',
38+
'timestamp' => 'timestamp',
39+
'_timestamp' => 'timestamp',
40+
'ttl' => 'ttl',
41+
'_ttl' => 'ttl',
42+
'version' => 'version',
43+
'_version' => 'version',
44+
'version_type' => 'version_type',
45+
'_version_type' => 'version_type',
46+
'if_seq_no' => 'if_seq_no',
47+
'if_primary_term' => 'if_primary_term'
4648
}
4749
},
4850
'bulk.update' => {

0 commit comments

Comments
 (0)