push
circleci
0 of 33 new or added lines in 1 file covered. (0.0%)
9374 existing lines in 213 files now uncovered.47 of 9753 relevant lines covered (0.48%)
0.01 hits per line
| 1 |
# frozen_string_literal: true
|
|
| 2 |
|
|
|
UNCOV
3
|
class EventProcessor |
× |
|
UNCOV
4
|
class UpdateProcessor < Processor |
× |
|
UNCOV
5
|
def process |
× |
|
UNCOV
6
|
index.update params: { overwrite: true }, |
× |
|
UNCOV
7
|
data: [doc].to_json,
|
× |
|
UNCOV
8
|
headers: { 'Content-Type' => 'application/json' } |
× |
|
UNCOV
9
|
index.commit unless bulk?
|
× |
|
UNCOV
10
|
true
|
× |
|
UNCOV
11
|
rescue RSolr::Error::Http |
× |
|
UNCOV
12
|
false
|
× |
|
UNCOV
13
|
end
|
× |
|
UNCOV
14
|
end
|
× |
|
UNCOV
15
|
end
|
× |