line |
true |
false |
branch |
13
|
0 |
0 |
ref $_[0] ? : |
17
|
0 |
0 |
unless $$self{"_$_"} = $params{$_} |
29
|
0 |
0 |
if eval {
do {
$self->es->create(%params, 'data', {});
1
}
} |
34
|
0 |
0 |
if $@->isa('Search::Elasticsearch::Error::Conflict') or $@->isa('ElasticSearch::Error::Conflict') |
62
|
0 |
0 |
unless defined $new_id and length $new_id |
66
|
0 |
0 |
if $new_id eq $old_id |
67
|
0 |
0 |
unless $self->create($type, $new_id) |
92
|
0 |
0 |
if (%failed) |
120
|
0 |
0 |
unless shift() |
121
|
0 |
0 |
unless shift() |
124
|
0 |
0 |
unless $old{$_} eq $new{$_} |
129
|
0 |
0 |
unless %failed |
140
|
0 |
0 |
unless $$_{'exists'} |
150
|
0 |
0 |
unless defined $type and length $type |
152
|
0 |
0 |
unless defined $id and length $id |
166
|
0 |
0 |
ref $_[0] eq 'HASH' ? : |
167
|
0 |
0 |
unless %params |
174
|
0 |
0 |
if $es->index_exists('index', $index) |
202
|
0 |
0 |
unless defined $type and length $type |